From 17ffa4b689c320672c0a5c88627d922cc9df7f7e Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Thu, 19 Oct 2023 16:36:35 +0300 Subject: [PATCH] skip `snyk test`, only test image Signed-off-by: Noam Gal --- build/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/release.yml b/build/release.yml index 33215e43..5213eadb 100644 --- a/build/release.yml +++ b/build/release.yml @@ -124,9 +124,9 @@ steps: - LOCAL_IMAGE_REF=${{IMAGE_NAME}}:${{RELEASE_VER}} commands: - | - snyk test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} || fail=1 + # snyk test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} || fail=1 snyk container test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} --file=Dockerfile ${LOCAL_IMAGE_REF} - if [ "$fail" == "1" ]; then exit 1; fi + # if [ "$fail" == "1" ]; then exit 1; fi when: steps: - name: build