From ea78ec4470db19cbde21e54df7686c50fa0b5303 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Tue, 5 Dec 2023 14:11:18 -0800 Subject: [PATCH] Add annotations to Docker image (#567) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae935ed2..e80751a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,6 +121,8 @@ jobs: type=semver,pattern={{major}}.{{minor}} labels: | org.opencontainers.image.vendor=NGINX Inc + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Create/Update Draft uses: lucacome/draft-release@785af55296512c907875513e397320ae3f1306bb # v1.0.1 @@ -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