From 3f784ccaa1aaef275db1aabde10018af7e2f8bf6 Mon Sep 17 00:00:00 2001 From: cn Date: Thu, 17 Feb 2022 10:06:51 +0100 Subject: [PATCH] ci: fix Trivy command after update --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 3e5c2fd..3b22f26 100644 --- a/Rakefile +++ b/Rakefile @@ -47,7 +47,7 @@ namespace :docker do task :scan do ver = trivy_version.gsub('v', '') sh "if [ ! -e ./trivy ]; then wget -q -O - https://github.com/aquasecurity/trivy/releases/download/v#{ver}/trivy_#{ver}_Linux-64bit.tar.gz | tar -xzf - trivy; fi" - sh "./trivy #{ci_image}" + sh "./trivy image #{ci_image}" end desc 'End-to-end test the CI Docker image'