Make Docker workflow depend on tests
This commit is contained in:
parent
b67f3062fe
commit
fe22a45c7e
|
@ -8,7 +8,10 @@ on:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
tests:
|
||||||
|
uses: ./.github/workflows/run-tests.yml
|
||||||
build-docker-amd64:
|
build-docker-amd64:
|
||||||
|
depends: [tests]
|
||||||
runs-on: buildjet-2vcpu-ubuntu-2204
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -33,6 +36,7 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: zedeus/nitter:latest,zedeus/nitter:${{ github.sha }}
|
tags: zedeus/nitter:latest,zedeus/nitter:${{ github.sha }}
|
||||||
build-docker-arm64:
|
build-docker-arm64:
|
||||||
|
depends: [tests]
|
||||||
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -4,6 +4,9 @@ on:
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "*.md"
|
- "*.md"
|
||||||
|
branches-ignore:
|
||||||
|
- master
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in New Issue