Update container-scan.gitlab-ci.yml
This commit is contained in:
parent
f7649b4835
commit
1312460eb9
@ -1,6 +1,6 @@
|
||||
.container-scan-trivy:
|
||||
image:
|
||||
name: docker.io/aquasec/trivy:0.25.0
|
||||
name: docker.io/aquasec/trivy:0.27.1
|
||||
entrypoint: [ "" ]
|
||||
stage: verify
|
||||
variables:
|
||||
@ -16,4 +16,4 @@
|
||||
script:
|
||||
# Builds report and puts it in the default workdir $CI_PROJECT_DIR, so artifacts: can take it from there
|
||||
- trivy --cache-dir .trivycache/ image --timeout 15m $TRIVY_EXTRA_ARGS --exit-code 0 --format template --template "/contrib/junit.tpl" -o junit-report.xml
|
||||
- trivy --cache-dir .trivycache/ image --timeout 15m $TRIVY_EXTRA_ARGS --exit-code $EXITCODE
|
||||
- trivy --cache-dir .trivycache/ image --timeout 15m $TRIVY_EXTRA_ARGS --exit-code $EXITCODE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user