Skip to content

Commit

Permalink
Update containers.build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kjeld Schouten <[email protected]>
  • Loading branch information
PrivatePuffin authored Oct 19, 2024
1 parent c7ae148 commit 4a280c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/containers.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,16 @@ jobs:

# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
container-build-complete:
needs: [build]
needs: [changes, hadolint, build]
if: ${{ always() }}
name: Container Build Completed
runs-on: ubuntu-latest
steps:
- name: Check Results
run: |
if [[ "${{ needs.build.result }}" != "success" ]]; then
if [[ "${{ needs.changes.result }}" != "success" || \
"${{ needs.hadolint.result }}" != "success" || \
"${{ needs.build.result }}" != "success" ]]; then
echo "One or more jobs failed!"
exit 1
else
Expand Down

0 comments on commit 4a280c0

Please sign in to comment.