mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06:00
Factor Docker step into own job
This commit is contained in:
parent
c8e1ad5997
commit
62bd559275
13
.github/workflows/dendrite.yml
vendored
13
.github/workflows/dendrite.yml
vendored
|
@ -323,9 +323,8 @@ jobs:
|
||||||
API: ${{ matrix.api && 1 }}
|
API: ${{ matrix.api && 1 }}
|
||||||
working-directory: complement
|
working-directory: complement
|
||||||
|
|
||||||
update-docker-images:
|
integration-tests-done:
|
||||||
name: Update Docker images
|
name: Integration tests passed
|
||||||
if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main'
|
|
||||||
needs: [initial-tests-done, upgrade_test, sytest, complement]
|
needs: [initial-tests-done, upgrade_test, sytest, complement]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -333,5 +332,9 @@ jobs:
|
||||||
uses: re-actors/alls-green@release/v1
|
uses: re-actors/alls-green@release/v1
|
||||||
with:
|
with:
|
||||||
jobs: ${{ toJSON(needs) }}
|
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
|
||||||
|
|
Loading…
Reference in a new issue