Skip to content

Commit a85ee31

Browse files
hack/build-image: workaround weird podman manifest push issue
Signed-off-by: John Mulligan <[email protected]>
1 parent 653e5f1 commit a85ee31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hack/build-image

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ def container_push(cli, push_name, manifest=False):
351351
args = [eng, "manifest", "push", "--all"]
352352
else:
353353
args = [eng, "push"]
354+
if "podman" in eng:
355+
# very strange bug? sometimes it fails to push without the format
356+
# option. but I swear it also does work without it some times
357+
args.append("--format=oci")
354358
args.append(push_name)
355359
run(cli, args, check=True)
356360

0 commit comments

Comments
 (0)