From 99bf3e40fb78f6a41805dec4d60947163f0849cc Mon Sep 17 00:00:00 2001 From: Daniel Moore <9156191+drmrd@users.noreply.github.com> Date: Wed, 6 Dec 2023 09:21:15 -0500 Subject: [PATCH] Correct the tags output from the Docker metadata action Signed-off-by: Daniel Moore <9156191+drmrd@users.noreply.github.com> --- .github/workflows/cicd.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 572dbe62..9ed5de47 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -84,9 +84,7 @@ jobs: with: images: ${{ matrix.host_namespace }}/${{ matrix.image_name }} tags: | - type=ref,event=branch - type=ref,event=pr - type=semver,pattern=${{ steps.docker-image-version-check.outputs.TAG }} + type=semver,pattern={{version}},value=v${{ steps.docker-image-version-check.outputs.TAG }} - name: Log into GitHub container registry if: github.event_name != 'pull_request'