From 69d6b6f9341c18b2a89e222329f3d11d5bb17cb9 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 26 Nov 2024 11:21:26 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(CI)=20trivy=20continue=20on=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trivy is extremly flaky, we need to continue on error to avoid blocking the pipeline. We still keep the check, to see if there are any vulnerabilities, but we don't want to block the pipeline. --- .github/workflows/docker-hub.yml | 2 ++ CHANGELOG.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index 31857c2a..8be04fb2 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -55,6 +55,7 @@ jobs: with: docker-build-args: '--target backend-production -f Dockerfile' docker-image-name: 'docker.io/lasuite/impress-backend:${{ github.sha }}' + continue-on-error: true - name: Build and push uses: docker/build-push-action@v6 @@ -105,6 +106,7 @@ jobs: with: docker-build-args: '-f src/frontend/Dockerfile --target frontend-production' docker-image-name: 'docker.io/lasuite/impress-frontend:${{ github.sha }}' + continue-on-error: true - name: Build and push uses: docker/build-push-action@v6 diff --git a/CHANGELOG.md b/CHANGELOG.md index d7e13858..309e97db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to - 🚸(backend) improve users similarity search and sort results #391 - ♻️(frontend) simplify stores #402 - ✨(frontend) update $css Box props type to add styled components RuleSet #423 +- ✅(CI) trivy continue on error #453 ## Fixed