Add OpenContainers annotations to published container images (#1021)

This commit is contained in:
Sebastian Kunze 2022-11-29 09:11:53 +01:00 committed by GitHub
parent f4f6bd9c48
commit ceb544833a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -59,3 +59,10 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.date.outputs.date }}
labels: |
org.opencontainers.image.licenses='Apache-2.0'
org.opencontainers.image.revision='${{ github.sha }}'
org.opencontainers.image.source='${{ github.server_url }}/${{ github.repository }}'
org.opencontainers.image.title='${{ inputs.image_name }}'
org.opencontainers.image.vendor='Google LLC'
org.opencontainers.image.version='${{ steps.date.outputs.date }}'