Skip to content

Commit

Permalink
try dis
Browse files Browse the repository at this point in the history
  • Loading branch information
gatsbyz committed Jan 19, 2024
1 parent 6cb2165 commit 4e86669
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 "$CRITICAL_COUNT" ]; then
if [ "$chk" -gt "${{ env.CRITICAL_COUNT }}" ]; then
echo "Failed vulnerability check for CRITICAL level"
exit 1
else
Expand Down

0 comments on commit 4e86669

Please sign in to comment.