From 4a280c02ec02ba7dbb84dafb65b68b57ffca47d6 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 19 Oct 2024 20:14:46 +0200 Subject: [PATCH] Update containers.build.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/containers.build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/containers.build.yaml b/.github/workflows/containers.build.yaml index 621885392e7..4016dfd0c0e 100644 --- a/.github/workflows/containers.build.yaml +++ b/.github/workflows/containers.build.yaml @@ -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