Skip to content

Commit

Permalink
here
Browse files Browse the repository at this point in the history
  • Loading branch information
gatsbyz committed Jan 19, 2024
1 parent 5bae5dc commit 1b30f6f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,7 @@ jobs:
--format="value(vulnerability.effectiveSeverity)")
# Check if CRITICAL vulnerability is found
chk=$(echo "$severity" | grep -c "CRITICAL")
if [ $chk -gt 5 ]; then
echo "Failed vulnerability check for CRITICAL level"
exit 1
else
echo "No CRITICAL vulnerability found. Congratulations."
exit 0
fi
echo $chk
- name: Sign the docker image
run: |-
Expand Down

0 comments on commit 1b30f6f

Please sign in to comment.