Skip to content

Commit e1f0978

Browse files
fix: no scan trivy (#590)
1 parent c550f94 commit e1f0978

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/trivy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ jobs:
2525
- name: Build ionosctl
2626
run: make build
2727

28-
- name: Run Trivy scan
28+
- name: Run Trivy scan (source)
2929
uses: aquasecurity/trivy-action@0.33.1
3030
with:
3131
scan-type: fs
32-
scan-ref: ./builds/ionosctl_linux_amd64
32+
scan-ref: .
33+
scanners: vuln,secret,license
34+
skip-dirs: vendor
3335
format: table
3436
output: trivy-report.txt
37+
exit-code: '0'
3538

3639
- name: Upload Trivy scan results
3740
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)