Skip to content

Commit

Permalink
Don't run docker images twice on release
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcoin-tools authored May 6, 2024
1 parent ecbceb4 commit 924c45f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,10 @@ jobs:
name: Run container ${{ matrix.container }}
needs: [changes, dependencies-check, dockerfile-lint, shell-lint, yaml-lint]
if: >-
${{
needs.changes.outputs.ci == 'true' ||
needs.changes.outputs.docker == 'true' ||
needs.changes.outputs.shell == 'true'
}}
github.event.action != 'published' &&
(needs.changes.outputs.ci == 'true' ||
needs.changes.outputs.docker == 'true' ||
needs.changes.outputs.shell == 'true')
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 924c45f

Please sign in to comment.