Skip to content

Commit

Permalink
hack/build-image: workaround weird podman manifest push issue
Browse files Browse the repository at this point in the history
Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn committed Jan 7, 2025
1 parent 653e5f1 commit a85ee31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/build-image
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ def container_push(cli, push_name, manifest=False):
args = [eng, "manifest", "push", "--all"]
else:
args = [eng, "push"]
if "podman" in eng:
# very strange bug? sometimes it fails to push without the format
# option. but I swear it also does work without it some times
args.append("--format=oci")
args.append(push_name)
run(cli, args, check=True)

Expand Down

0 comments on commit a85ee31

Please sign in to comment.