From 41b50cc37a9483fe33363b437ebb6ad58247b99a Mon Sep 17 00:00:00 2001 From: sfrancois Date: Wed, 22 Jan 2025 10:34:20 +0100 Subject: [PATCH] =?UTF-8?q?fix(trivy):=20modifie=20l'argument=20utilis?= =?UTF-8?q?=C3=A9=20pour=20la=20commande=20de=20scan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/vul-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vul-scan.yml b/templates/vul-scan.yml index f1a6d70..60d7031 100644 --- a/templates/vul-scan.yml +++ b/templates/vul-scan.yml @@ -43,7 +43,7 @@ TRIVY_AUTH_URL: "$PATRINAT_REGISTRY" script: - trivy --version - - time trivy image --clear-cache + - time trivy image --scan-cache - time trivy image --exit-code 0 --no-progress --format template --template "@/contrib/gitlab.tpl" --output "$CI_PROJECT_DIR/gl-container-scanning-report.json" "$FULL_IMAGE_NAME" - time trivy image --exit-code 0 --no-progress "$FULL_IMAGE_NAME" -- GitLab