Open
Description
Description
A new configuration option to add OCI image annotations would be very useful, ideally defaulted to enabled.
These annotations are useful for people to use manually and for use by tools. For example, Snyk uses them in its UI and Renovate uses them to find release notes.
These annotations would be set:
org.opencontainers.image.source=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY
org.opencontainers.image.revision=$GITHUB_SHA
org.opencontainers.image.ref.name=$GITHUB_REF
- if
$GITHUB_REF_TYPE=tag
thenorg.opencontainers.image.version=$GITHUB_REF_NAME
org.opencontainers.image.url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY
org.opencontainers.image.created=$(date -Iseconds)