Skip to content

Commit

Permalink
explicitly depend on test job success
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Aug 5, 2024
1 parent 66ff6e3 commit 56f636b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
run: ci/create-multiarch-manifest.sh

delete-temp-images:
if: '!cancelled()'
if: !cancelled() && needs.test.result == 'success'
needs: [compute-matrix, test, build-multiarch-manifest]
strategy:
matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
Expand Down

0 comments on commit 56f636b

Please sign in to comment.