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 abb0511 commit 985d018
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/containers.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,8 @@ jobs:
steps:
- name: Check Results
run: |
if [[ "${{ needs.changes.result }}" != "success" || \
"${{ needs.hadolint.result }}" != "success" || \
"${{ needs.build.result }}" != "success" ]]; then
if [[ "${{ needs.changes.outputs.containers_found }}" == 'true' && ( "${{ needs.hadolint.result }}" != "success" || \
"${{ needs.build.result }}" != "success") ]]; then
echo "One or more jobs failed!"
exit 1
else
Expand Down

0 comments on commit 985d018

Please sign in to comment.