From 333882de824732324aa5b8dd6f0fea70732cba16 Mon Sep 17 00:00:00 2001 From: Anshul Gupta Date: Sat, 16 Nov 2024 21:03:08 -0800 Subject: Add annotations to docker build --- .github/workflows/docker-image.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ac96a94..4f33e8a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -38,6 +38,8 @@ jobs: - name: Docker meta id: meta uses: docker/metadata-action@v5 + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index with: images: | ghcr.io/${{ github.repository }} @@ -59,5 +61,6 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} cache-from: type=gha cache-to: type=gha,mode=max -- cgit v1.2.3