Skip to content

Commit ea78ec4

Browse files
authored
Add annotations to Docker image (#567)
1 parent 6fb0b4d commit ea78ec4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ jobs:
121121
type=semver,pattern={{major}}.{{minor}}
122122
labels: |
123123
org.opencontainers.image.vendor=NGINX Inc <[email protected]>
124+
env:
125+
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
124126

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

0 commit comments

Comments
 (0)