Skip to content

Commit

Permalink
set the registry specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kaatz committed Sep 28, 2023
1 parent 79cb48a commit 3614bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3614bfd

Please sign in to comment.