There was an error while loading. Please reload this page.
1 parent 3ce94b4 commit 4e133c7Copy full SHA for 4e133c7
1 file changed
script/release-workflow/image-scan.sh
@@ -6,4 +6,4 @@ script_dir=$(cd "$(dirname $0)" && pwd)
6
7
ARCH=${ARCH:-'amd64'}
8
IS_DEBIAN=${IS_DEBIAN:+"-debian"}
9
-trivy image ${DOCKER_IMAGE_ORG_AND_NAME}:latest-${ARCH}${IS_DEBIAN} --exit-code 1 --ignorefile ${script_dir}/../.trivyignore
+trivy image ${DOCKER_IMAGE_ORG_AND_NAME}:latest-${ARCH}${IS_DEBIAN} --severity HIGH,CRITICAL --exit-code 1 --ignorefile ${script_dir}/../.trivyignore
0 commit comments