Skip to content

Commit 83ffb12

Browse files
committed
Update .github/workflows/run-ci-cd.yaml
1 parent 38cbff3 commit 83ffb12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/run-ci-cd.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,16 +377,18 @@ jobs:
377377
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
378378

379379
- name: Scan backend image
380+
continue-on-error: true
380381
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
381382
with:
382-
exit-code: 0
383+
exit-code: 1
383384
image-ref: owasp/nest:backend-staging
384385
scan-type: image
385386
trivy-config: trivy.yaml
386387
trivyignores: trivyignore.yaml
387388
version: latest
388389

389390
- name: Scan frontend image
391+
continue-on-error: true
390392
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
391393
with:
392394
exit-code: 1

0 commit comments

Comments
 (0)