diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-25 13:28:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 13:28:20 +0000 |
commit | 62bd5592751e920bf0b1d04bc5e5ad28dc7a5c33 (patch) | |
tree | 896ac9edcaedf8dffbe1cfd57b7d149a475dc3d1 /.github/workflows/dendrite.yml | |
parent | c8e1ad59976807f4a673508a3d9bc5dc1ec5e7ce (diff) |
Factor Docker step into own job
Diffstat (limited to '.github/workflows/dendrite.yml')
-rw-r--r-- | .github/workflows/dendrite.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index e76e114d..8c4fc225 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -323,9 +323,8 @@ jobs: API: ${{ matrix.api && 1 }} working-directory: complement - update-docker-images: - name: Update Docker images - if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main' + integration-tests-done: + name: Integration tests passed needs: [initial-tests-done, upgrade_test, sytest, complement] runs-on: ubuntu-latest steps: @@ -333,5 +332,9 @@ jobs: uses: re-actors/alls-green@release/v1 with: jobs: ${{ toJSON(needs) }} - - name: Dispatch Docker build - uses: matrix-org/dendrite/.github/workflows/dendrite.yml@main + + update-docker-images: + name: Update Docker images + if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main' + needs: [integration-tests-done] + uses: matrix-org/dendrite/.github/workflows/dendrite.yml@main |