From 7df41dda234a6285e335f5fd994a246cb02935eb Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Tue, 14 May 2024 17:24:52 +0200 Subject: [PATCH] cicd(Trivy): stop trivy workflow from failing on any issues --- .github/workflows/trivy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index f8171a32c..39a77d37e 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -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" @@ -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: @@ -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: @@ -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: @@ -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: