From e86dd564a4c8a2428d7f8afd19b63fd3c267e10c Mon Sep 17 00:00:00 2001 From: Anurag Rajawat Date: Mon, 27 May 2024 20:45:48 +0530 Subject: [PATCH] fix(CI): Fix image tag Signed-off-by: Anurag Rajawat --- .github/workflows/release-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-image.yaml b/.github/workflows/release-image.yaml index 71d41da3..d0be0771 100644 --- a/.github/workflows/release-image.yaml +++ b/.github/workflows/release-image.yaml @@ -46,13 +46,13 @@ jobs: fi - name: Build image - run: make docker-build + run: make docker-build TAG=${{ steps.tag.outputs.tag }} working-directory: ${{ inputs.WORKING_DIRECTORY }} - name: Scan image uses: anchore/scan-action@v3 with: - image: '5gsec/${{ inputs.NAME }}:v0.1' + image: '5gsec/${{ inputs.NAME }}:${{ steps.tag.outputs.tag }}' severity-cutoff: critical output-format: sarif