atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Add well-known image labels to Docker image to link back to repository

Open JJGadgets opened this issue 1 year ago • 1 comments

GHCR supports using the org.opencontainers.image.source well-known image label to link users from the ghcr.io page back to the project repository page. It would probably also be good to have the other well-known labels just for metadata sakes.

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package#connecting-a-repository-to-a-container-image-using-the-command-line https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys

Additionally, setting the org.opencontainers.image.source label allows Renovate to automatically grab the changelog for new releases and insert to the version update PR.

https://docs.renovatebot.com/modules/datasource/docker/

JJGadgets avatar Feb 10 '24 05:02 JJGadgets

Thank for the suggestion! I'd happily review a PR for this if anyone fancies it 🙏

ellie avatar Feb 12 '24 09:02 ellie