Label the Docker image with git repository
macbre opened this issue · 0 comments
macbre commented
https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys
Example
org.opencontainers.image.title=${{ github.event.repository.name }}-environment
org.opencontainers.image.url=${{ github.event.repository.html_url }}
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.revision=${{ github.sha }}