diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33da0565631fa2c2006b3f0804df76a40539b501..6551baac63d3d3a3e175d158bb27432efa1cf4fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -202,7 +202,7 @@ Build Docker Image: --tag "${LOCAL_IMAGE}" "." ## trivy scan before push - - export TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db, mirror.gcr.io/aquasec/trivy-db #Trivy looks for this variable to determine which repository to use. + - export TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db,mirror.gcr.io/aquasec/trivy-db #Trivy looks for this variable to determine which repository to use. # fail LOW,MEDIUM vulnerabilities that have a fix available - trivy -q image --exit-code 1 --ignore-unfixed --severity LOW,MEDIUM "${LOCAL_IMAGE}"; # fail HIGH,CRITICAL vulnerabilities