From e598a2d94a60afe19a16362a9e148253c579f402 Mon Sep 17 00:00:00 2001 From: Serhii Koropets Date: Tue, 2 Jul 2024 11:14:50 +0300 Subject: [PATCH] Revert "Fix trivy scan script" This reverts commit bd0f4fef873822cce24b7a84b3b1970fdef93948. --- scripts/trivy_scan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/trivy_scan.sh b/scripts/trivy_scan.sh index 520595a49..662ac0d75 100644 --- a/scripts/trivy_scan.sh +++ b/scripts/trivy_scan.sh @@ -28,4 +28,4 @@ trivy_version=$(trivy -v 2>/dev/null | head -1 | cut -d ' ' -f 2); echo "Trivy version is ${trivy_version} and platform is ${uname}" echo "Scanning image - '$image'" -trivy image --exit-code 10 --severity HIGH,CRITICAL --no-progress --ignore-unfixed --timeout "5m" "$image" +trivy image --clear-cache --exit-code 10 --severity HIGH,CRITICAL --no-progress --ignore-unfixed --timeout "5m" "$image"