Update containers.build.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
@@ -348,14 +348,16 @@ jobs:
|
|||||||
|
|
||||||
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
|
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
|
||||||
container-build-complete:
|
container-build-complete:
|
||||||
needs: [build]
|
needs: [changes, hadolint, build]
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
name: Container Build Completed
|
name: Container Build Completed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check Results
|
- name: Check Results
|
||||||
run: |
|
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!"
|
echo "One or more jobs failed!"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user