Skip to content
Snippets Groups Projects
Commit 394da499 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Update trivy arguments

parent 4cf8e09b
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!291.1.0 rc
...@@ -171,7 +171,7 @@ Scan Docker Image: ...@@ -171,7 +171,7 @@ Scan Docker Image:
- wget https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz - wget https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
- tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz - tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
# run trivy # run trivy
- ./trivy image ${INTERNAL_IMAGE_NAME} - ./trivy image --no-progress --exit-code 1 --severity HIGH,CRITICAL ${INTERNAL_IMAGE_NAME}
services: services:
- docker:19.03-dind - docker:19.03-dind
stage: scan stage: scan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment