Loading templates/gitlab-ci-cnb.yml +1 −1 Original line number Diff line number Diff line Loading @@ -505,7 +505,7 @@ cnb-trivy: TRIVY_CACHE_DIR: ".trivycache/" script: | # cache cleanup is needed when scanning images with the same tags, it does not remove the database trivy image --clear-cache trivy clean --scan-cache || trivy image --clear-cache export TRIVY_USERNAME=${CNB_REGISTRY_SNAPSHOT_USER:-${CNB_REGISTRY_USER:-$CI_REGISTRY_USER}} export TRIVY_PASSWORD=${CNB_REGISTRY_SNAPSHOT_PASSWORD:-${CNB_REGISTRY_PASSWORD:-$CI_REGISTRY_PASSWORD}} basename=$(echo "${CNB_SNAPSHOT_IMAGE}" | sed 's|[/:]|_|g') Loading Loading
templates/gitlab-ci-cnb.yml +1 −1 Original line number Diff line number Diff line Loading @@ -505,7 +505,7 @@ cnb-trivy: TRIVY_CACHE_DIR: ".trivycache/" script: | # cache cleanup is needed when scanning images with the same tags, it does not remove the database trivy image --clear-cache trivy clean --scan-cache || trivy image --clear-cache export TRIVY_USERNAME=${CNB_REGISTRY_SNAPSHOT_USER:-${CNB_REGISTRY_USER:-$CI_REGISTRY_USER}} export TRIVY_PASSWORD=${CNB_REGISTRY_SNAPSHOT_PASSWORD:-${CNB_REGISTRY_PASSWORD:-$CI_REGISTRY_PASSWORD}} basename=$(echo "${CNB_SNAPSHOT_IMAGE}" | sed 's|[/:]|_|g') Loading