Skip to content

Commit d06ed88

Browse files
authored
Merge pull request #443 from lukaszstolarczuk/update-trivy
[CI] Print trivy report in CI
2 parents 46ab276 + 3ed6bab commit d06ed88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/trivy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ jobs:
4040
exit-code: 1 # Fail if issue found
4141
# file with suppressions: .trivyignore (in root dir)
4242

43+
- name: Print report and trivyignore file
44+
run: |
45+
echo "### Trivy ignore content:"
46+
cat .trivyignore
47+
echo "### Trivy report:"
48+
cat trivy-results.sarif
49+
4350
- name: Upload results
4451
uses: github/codeql-action/upload-sarif@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
4552
with:

0 commit comments

Comments
 (0)