Make image scan with debug
Some checks failed
ci/woodpecker/push/scans Pipeline was successful
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Radek Goláň jr. 2024-10-31 10:06:56 +01:00
parent 1c9b946e49
commit 4de3431e50
Signed by: shield
GPG Key ID: D86423BFC31F3591

View File

@ -67,7 +67,7 @@ steps:
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
TRIVY_CHECKS_BUNDLE_REPOSITORY: public.ecr.aws/aquasecurity/trivy-checks
commands:
- trivy image dev.shielddagger.com/opensource/discord-notifier:latest --exit-code 1 --username $TRIVY_USER --severity HIGH,CRITICAL
- trivy image --debug dev.shielddagger.com/opensource/discord-notifier:latest --exit-code 1 --username $TRIVY_USER --severity HIGH,CRITICAL
when:
- event: push
branch: main