ci: switch to trivy config file
This commit is contained in:
parent
fc9e942763
commit
bd05e503f5
@ -24,7 +24,6 @@ steps:
|
|||||||
TRIVY_NO_PROGRESS: "true"
|
TRIVY_NO_PROGRESS: "true"
|
||||||
TRIVY_SEVERITY: HIGH,CRITICAL
|
TRIVY_SEVERITY: HIGH,CRITICAL
|
||||||
TRIVY_TIMEOUT: 1m
|
TRIVY_TIMEOUT: 1m
|
||||||
TRIVY_SKIP_FILES: /usr/local/bin/gomplate,/var/www/app/vnu.jar
|
|
||||||
|
|
||||||
publish-dockerhub:
|
publish-dockerhub:
|
||||||
group: container
|
group: container
|
||||||
|
5
trivy.yaml
Normal file
5
trivy.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
scan:
|
||||||
|
skip-files:
|
||||||
|
- /usr/local/bin/gomplate
|
||||||
|
- /var/www/app/vnu.jar
|
Reference in New Issue
Block a user