From e2bffd996b8255d507d97a8785a3f6d8693de759 Mon Sep 17 00:00:00 2001 From: Saptarshi Sarkar Date: Wed, 21 Feb 2024 00:21:39 +0530 Subject: [PATCH] fix(CI): Fixed image name error in Trivy scan --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 44457388a..332ffca6c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -163,7 +163,7 @@ jobs: - name: Run Trivy security scan uses: aquasecurity/trivy-action@0.17.0 with: - image-ref: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.image_name }}:sha-${{ env.SHORT_SHA }} + image-ref: ${{ env.REGISTRY }}/saptarshisarkar12/${{ matrix.image_name }}:sha-${{ env.SHORT_SHA }} format: ${{ github.event_name == 'pull_request' && 'table' || 'sarif' }} exit-code: 1 vuln-type: os,library