diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b3eca25..9794563 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: - name: 3. Software Composition Analysis (Trivy) run: | curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin - trivy image --severity HIGH,CRITICAL apex-solutions:latest + trivy image --exit-code 1 --severity HIGH,CRITICAL apex-solutions:latest - name: 4. Static Application Security Testing (SonarQube) run: |