Skip to content

Commit 7e518f4

Browse files
cicd: add workflow_dispatch to trivvy scan (#31)
* cicd: add workflow_dispatch to trivvy scan * cicd: remove trivy cache * cicd: remove trivy cache
1 parent 3d9c4e7 commit 7e518f4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/trivy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Trivy Security Scanner
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- 3-22.04
@@ -34,9 +35,10 @@ jobs:
3435
format: 'sarif'
3536
output: 'trivy-results.sarif'
3637
severity: 'MEDIUM,HIGH,CRITICAL'
38+
cache: 'false'
3739

3840
- name: Upload Trivy scan results to GitHub Security tab
39-
uses: github/codeql-action/upload-sarif@v2
41+
uses: github/codeql-action/upload-sarif@v3
4042
if: always()
4143
with:
4244
sarif_file: 'trivy-results.sarif'

0 commit comments

Comments
 (0)