Skip to content

Commit

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

0 comments on commit 5bae5dc

Please sign in to comment.