From 50b5505d8ebc278de860d7153ea167daf5520bcb Mon Sep 17 00:00:00 2001 From: Simon Ungar Felding <45149055+simonfelding@users.noreply.github.com> Date: Thu, 24 Apr 2025 22:07:00 +0200 Subject: [PATCH] fix ref name --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dd47895..f4da9d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,14 +58,14 @@ jobs: outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=false context: ./build file: ./build/Dockerfile - tags: "${{ env.DOCKER_REPO_DEV }}:${{ github.head_ref }}" + tags: "${{ env.DOCKER_REPO_DEV }}:${{ github.ref_name }}" build-args: | version=${{ env.version }} - name: Scan image id: scan uses: anchore/scan-action@v6 with: - image: "${{ env.DOCKER_REPO_DEV }}:${{ github.head_ref }}" + image: "${{ env.DOCKER_REPO_DEV }}:${{ github.ref_name }}" fail-build: false severity-cutoff: critical - name: Upload Anchore scan SARIF report