From 3614bfd24d49f8066bf7e5e5f5f5eeec64013453 Mon Sep 17 00:00:00 2001 From: Christian Kaatz Date: Thu, 28 Sep 2023 10:35:58 +0200 Subject: [PATCH] set the registry specifically --- .github/workflows/ci-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index e5e5b13d..6bdd4602 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -77,13 +77,13 @@ jobs: context: . cache-from: type=gha cache-to: type=gha,mode=max - tags: "${{ env.IMAGE_NAME }}:${{ github.sha }}" + tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}" push: false - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: - image-ref: "${{ env.IMAGE_NAME }}:${{ github.sha }}" + image-ref: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}" format: "template" template: "@/contrib/sarif.tpl" output: "trivy-results.sarif"