Skip to content

Commit

Permalink
fix: allow security-docker to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Wi11Shell committed Jan 16, 2025
1 parent 1c37910 commit 4ce6ea7
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
security-docker:
name: Security
uses: ./.github/workflows/security-docker.yaml
continue-on-error: true
permissions:
contents: read
security-events: write
Expand Down Expand Up @@ -229,13 +228,27 @@ jobs:

docker:
name: Docker
if: ${{ always() && !cancelled() && !failure() && needs.orchestrator.outputs.should-build-docker }}
if: >
always() &&
!cancelled() &&
needs.orchestrator.outputs.should-build-docker &&
needs.security-app.result != 'failure' &&
needs.security-terraform.result != 'failure' &&
needs.orchestrator.result != 'failure' &&
needs.docs.result != 'failure' &&
needs.cdn.result != 'failure' &&
needs.app.result != 'failure' &&
needs.get-version.result != 'failure'
concurrency:
group: docker-${{ matrix.project }}-${{ needs.get-version.outputs[matrix.project] }}
needs:
- security-app
- security-terraform
- orchestrator
- get-version
- docs
- cdn
- app
- get-version
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 4ce6ea7

Please sign in to comment.