Skip to content

Commit

Permalink
fix: trivy reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed May 11, 2022
1 parent a79bf88 commit 09f0c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/service-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,13 +450,13 @@ jobs:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=docker,dest=./node-${{ matrix.node-version }}.tar
outputs: type=docker,dest=./dockerimage-node-${{ matrix.node-version }}.tar

- name: Run Trivy scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: image
input: ./node-${{ matrix.node-version }}.tar
input: ./dockerimage-node-${{ matrix.node-version }}.tar
format: 'sarif'
severity: 'CRITICAL,HIGH'
output: 'trivy-results.sarif'
Expand Down

0 comments on commit 09f0c84

Please sign in to comment.