Skip to content

Commit

Permalink
skip snyk test, only test image
Browse files Browse the repository at this point in the history
Signed-off-by: Noam Gal <[email protected]>
  • Loading branch information
ATGardner committed Oct 19, 2023
1 parent 1d26308 commit 17ffa4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17ffa4b

Please sign in to comment.