docker / metadata-action

GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker
https://github.com/marketplace/actions/docker-metadata-action
Apache License 2.0
896 stars 115 forks source link

Custom annotations #360

Closed favonia closed 9 months ago

favonia commented 9 months ago

Description

I hope there's a way to specify custom annotations in addition to the standard ones, just like the labels input. They are probably needed by ArtifactHub, and putting all the metadata configurations in one place looks more elegant.

One design decision to make is whether these custom annotations should be affected by DOCKER_METADATA_ANNOTATIONS_LEVELS. My personal preference is yes, but I can see the arguments both ways.

crazy-max commented 9 months ago

Yes I think that makes sense, might have been an oversight when implementing #352