Skip to content

Commit

Permalink
cicd(Trivy): stop trivy workflow from failing on any issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed May 14, 2024
1 parent 085e16d commit 7df41dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
with:
scan-type: "config"
# ignore-unfixed: true
exit-code: "1"
exit-code: "0"
hide-progress: false
format: "sarif"
output: "trivy-results1.sarif"
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
image-ref: "docker.io/tractusx/bpdm-pool:latest-alpha"
format: "sarif"
output: "trivy-results2.sarif"
exit-code: "1"
exit-code: "0"
severity: "CRITICAL,HIGH"
timeout: 15m
env:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
image-ref: "docker.io/tractusx/bpdm-gate:latest-alpha"
format: "sarif"
output: "trivy-results3.sarif"
exit-code: "1"
exit-code: "0"
severity: "CRITICAL,HIGH"
timeout: 15m
env:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
image-ref: "docker.io/tractusx/bpdm-cleaning-service-dummy:latest-alpha"
format: "sarif"
output: "trivy-results4.sarif"
exit-code: "1"
exit-code: "0"
severity: "CRITICAL,HIGH"
timeout: 15m
env:
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
image-ref: "docker.io/tractusx/bpdm-orchestrator:latest-alpha"
format: "sarif"
output: "trivy-results4.sarif"
exit-code: "1"
exit-code: "0"
severity: "CRITICAL,HIGH"
timeout: 15m
env:
Expand Down

0 comments on commit 7df41dd

Please sign in to comment.