Skip to content

Commit

Permalink
Add OpenContainers annotations to published container images (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunzese authored Nov 29, 2022
1 parent f4f6bd9 commit ceb5448
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'

0 comments on commit ceb5448

Please sign in to comment.