From 8138c574dcf9823b06a9f545b6ded8b7a68a1698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Tue, 7 Mar 2023 02:03:17 +0000 Subject: [PATCH] =?UTF-8?q?trivy=20=EC=BB=A4=EB=A7=A8=EB=93=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit $* 의 위치를 trivy 옆으로 이동 --- clustertask/trivy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustertask/trivy.yaml b/clustertask/trivy.yaml index 0f43e3e..4214609 100644 --- a/clustertask/trivy.yaml +++ b/clustertask/trivy.yaml @@ -41,7 +41,7 @@ spec: script: | #!/usr/bin/env sh export TRIVY_NON_SSL=true - cmd="trivy --severity HIGH,CRITICAL --output scan.txt --cache-dir . --skip-update $* $(params.IMAGE_PATH)" + cmd="trivy $* --severity HIGH,CRITICAL --output scan.txt --cache-dir . --skip-update $(params.IMAGE_PATH)" echo "Running trivy task with command below" echo "$cmd" eval "$cmd"