You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to copy a multiarch image (manifest list tagged with + multiple arch-specific images also on ) doesn't work when dest is an immutable registry (tested on Amazon ECR set to immutable, different from the src registry)
Expected behaviour
I expect only the top level manifest list to be pushed with the tag, not the images themselves.
Actual behaviour
Returns 400 error on the second image pushed.
The registry contains a leftover first image, tagged with .
It looks like all arch-specific images are pushed with tag, and any push after the first is rejected due to registry immutability.
The result is fine on a mutable registry, but i believe it is because the manifest list is pushed last and therefore overwrites the tag last.
(the exact same command with --push added) and were then tested to be working on both archs.
Build logs
Additional info
Pushing multiarch images to a repository seems to work fine in the docker buildx build --push --platform $PLATFORM_LIST command, I can only infer that the push process used in the docker buildx imagetools create command is different, maybe it is possible to compare the code of the two and find the issue this way ?
The text was updated successfully, but these errors were encountered:
Contributing guidelines
I've found a bug and checked that ...
Description
Using the command
to copy a multiarch image (manifest list tagged with + multiple arch-specific images also on ) doesn't work when dest is an immutable registry (tested on Amazon ECR set to immutable, different from the src registry)
Expected behaviour
I expect only the top level manifest list to be pushed with the tag, not the images themselves.
Actual behaviour
Returns 400 error on the second image pushed.
The registry contains a leftover first image, tagged with .
It looks like all arch-specific images are pushed with tag, and any push after the first is rejected due to registry immutability.
The result is fine on a mutable registry, but i believe it is because the manifest list is pushed last and therefore overwrites the tag last.
Buildx version
github.com/docker/buildx v0.19.3 48d6a39
Docker info
Builders list
Configuration
Images were built locally with
then sent to the registry through
(the exact same command with
--push
added) and were then tested to be working on both archs.Build logs
Additional info
Pushing multiarch images to a repository seems to work fine in the
docker buildx build --push --platform $PLATFORM_LIST
command, I can only infer that the push process used in thedocker buildx imagetools create
command is different, maybe it is possible to compare the code of the two and find the issue this way ?The text was updated successfully, but these errors were encountered: