-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Annotations not working as expected to add descriptions #3277
Comments
Heya, thanks for the report! 🎉 Could you explain what you're trying to do, and what you're expecting to happen? If you could also share what version of buildkit you're using, that would be great as well! Annotations haven't made it into a release yet, so unless you're using the |
I'm using : https://github.com/docker/setup-buildx-action i.e. GitHub Action to set up Docker Buildx. Annotations are being added like this in the github actions. And passing annotations to the output param. |
And passing annotations as:
|
Can you share your GitHub workflow? At least the part that contains your setup-buildx-action step? |
|
So I think this is probably an issue with the Annotations for single platforms generate a manifest, so the annotation is silently discarded. That's weird behavior, so we should probably explicitly errored - I've linked a PR that will cause this to explicitly (instead of silently) fail. |
👋🏼 I came across this document on adding annotations to images pushed via buildkit for the index manifest https://github.com/moby/buildkit/blob/master/docs/annotations.md. I tried using this to add descriptions to an image but was not able to.
The text was updated successfully, but these errors were encountered: