We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b522aca commit 5e90795Copy full SHA for 5e90795
.github/workflows/docker-build.yml
@@ -87,12 +87,12 @@ jobs:
87
uses: aquasecurity/[email protected]
88
with:
89
input: vuln-image.tar
90
- format: "table"
+ format: ${{ (inputs.security-report == 'sarif' && 'sarif') || 'table' }}
91
ignore-unfixed: true
92
vuln-type: "os,library"
93
severity: "CRITICAL,HIGH"
94
hide-progress: true
95
- output: trivy.txt
+ output: ${{ (inputs.security-report == 'sarif' && 'trivy-results.sarif') || 'trivy.txt' }}
96
97
- name: Read Trivy report file
98
id: read_trivy
0 commit comments