New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untagged images produced for multi platform builds #894
Comments
I have the same problem without using multi-platforms I am pushing images to two separate registries, including Github registry
In github registry, I end up with the correct version for example
In this case for example, I get two other images with tags
and
Does anyone know what triggers this behavior? |
Are there any updates to this? I'm having the same problem... |
Can you confirm that those aren't provenance attestations? with:
provenance: false |
I confirm @mattkrick solutions fixed our issue and removed the untagged layers from the images 👍 |
So for me that is not the issue as I already have that setting as false in my action I posted a above. Although I do know with that setting on single platform builds I get the same result. |
Why? This was true before when manifest list was not a thing but now tools like Buildx/BuildKit create a manifest list including manifest for each built platform if there are more than one like
This way a user doesn't need to bother choosing a specific tag matching the platform. Then can just use this tag and the right image will be pulled based on the host specs. More info: https://docs.docker.com/build/building/multi-platform/ |
I want that so I can automatically delete all images associated with a tag. There currently is no way to do this in multi arch builds. |
Same issue here, and |
To prevent tons of untagged images in GHCR. See: docker/build-push-action#894
Troubleshooting
Before submitting a bug report please read the Troubleshooting doc.
Behaviour
Multiplatform images produce untagged images for each platform built for
Steps to reproduce this issue
Expected behaviour
I would hope there is at least an option to tag each platforms image with special tag. In the example above perhaps pr-5-arm64 and pr-5-amd64
Actual behaviour
Multiple untagged images
Configuration
The text was updated successfully, but these errors were encountered: