Skip to content

Commit

Permalink
Add annotations to Docker image (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Dec 5, 2023
1 parent 6fb0b4d commit ea78ec4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
labels: |
org.opencontainers.image.vendor=NGINX Inc <[email protected]>
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index

- name: Create/Update Draft
uses: lucacome/draft-release@785af55296512c907875513e397320ae3f1306bb # v1.0.1
Expand Down Expand Up @@ -186,6 +188,7 @@ jobs:
platforms: ${{ github.event_name != 'pull_request' && env.DOCKER_PLATFORMS || '' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
load: ${{ github.event_name == 'pull_request' }}
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha
Expand Down

0 comments on commit ea78ec4

Please sign in to comment.