From d4485c7345a429e5a68f887d56b0880436ceab96 Mon Sep 17 00:00:00 2001 From: Bill Wang Date: Tue, 10 Oct 2023 23:25:56 +1100 Subject: [PATCH] #64 - add trivy scan in pipeine --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48dd07c..112646a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: - run: | apk add bash latest_versions=$(bash ./latest_versions.sh) - for tag in ${latest_version} + for tag in ${latest_versions} do echo "Scan image alpine/k8s:${tag} ..." trivy image -s "HIGH,CRITICAL" alpine/k8s:${tag}