Skip to content

Commit

Permalink
Update trivy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 4, 2024
1 parent 6dd81d5 commit 9adc73a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
context: .
push: false
load: true
tags: '${IMAGE_NAME}:${{ github.sha }}'
tags: "${IMAGE_NAME}:${{ github.sha }}"
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: '${IMAGE_NAME}:${{ github.sha }}'
image-ref: "${IMAGE_NAME}:${{ github.sha }}"
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand Down

0 comments on commit 9adc73a

Please sign in to comment.