Skip to content
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

wishlist: annotations on docker/dockerfile images #4888

Open
tianon opened this issue Apr 26, 2024 · 2 comments
Open

wishlist: annotations on docker/dockerfile images #4888

tianon opened this issue Apr 26, 2024 · 2 comments

Comments

@tianon
Copy link
Member

tianon commented Apr 26, 2024

This is a very low priority wishlist item, but it'd be neat if releases to docker/dockerfile could include at the very least the org.opencontainers.image.version pre-defined annotation so that it is more immediately apparent what version a given image represents. 😄 ❤️

(I think it would also be neat to point org.opencontainers.image.url to something like https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.7.1 for where the release notes are, but that's easy enough to go find given a version number 😄)

@tonistiigi
Copy link
Member

Not a replacement for the request, but FYI that the image does support docker run --rm docker/dockerfile:labs --version and the source tag is also present in the provenance attestation.

@crazy-max
Copy link
Member

If this is just for releasing, we could probably use the metadata-action: https://github.com/docker/metadata-action/actions/runs/8846523649/job/24292592654#step:4:75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants