Skip to content

Commit e8f3724

Browse files
committed
fix: grype scan
1 parent 77fb5da commit e8f3724

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build_and_push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
with:
2929
image-ref: ${{ env.FULL_IMAGE }}
3030
severity: HIGH,CRITICAL
31-
exit-code: 0
3231
ignore-unfixed: true
3332

3433

@@ -57,6 +56,9 @@ jobs:
5756
--fail-on high \
5857
--only-fixed=false \
5958
--add-cpes-if-none | grep -E "High|Critical"
59+
with:
60+
exit-code: 1
61+
6062

6163
# muestra solo las high o critical
6264

0 commit comments

Comments
 (0)