Skip to content

Commit

Permalink
Run trivy on image in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Oct 26, 2023
1 parent 1645b0e commit 8eaa44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}'
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags[0] }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand Down

0 comments on commit 8eaa44a

Please sign in to comment.