Skip to content
Snippets Groups Projects
Commit 94bfb207 authored by Shavers, Nicholas H's avatar Shavers, Nicholas H
Browse files

use trivy mirror fofr 0 rate limiting

parent e8356e58
No related branches found
No related tags found
1 merge request!358use trivy mirror for 0 rate limiting
......@@ -204,8 +204,8 @@ Build Docker Image:
--build-arg GIT_COMMIT_SHA=${CI_COMMIT_SHA}
--tag "${LOCAL_IMAGE}"
"."
## trivy scan before push
- export TRIVY_DB_REPOSITORY=mirror.gcr.io/aquasec/trivy-db #Trivy looks for this variable to determine which repository to use. Only one allowed until trivy >= 0.56
# fail LOW,MEDIUM vulnerabilities that have a fix available
- trivy image --exit-code 1 --ignore-unfixed --severity LOW,MEDIUM "${LOCAL_IMAGE}";
# fail HIGH,CRITICAL vulnerabilities
......
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