Skip to content

Commit dee0313

Browse files
committed
Rename build and release workflow
1 parent c39e500 commit dee0313

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/build-worker-bundles.yml renamed to .github/workflows/build-and-release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,28 @@ jobs:
2525
path: worker/packaging/build/worker-${{matrix.target}}.tar.xz
2626
archive: false
2727

28+
docker-backend:
29+
uses: ./.github/workflows/.build-push-docker-image.yml
30+
with:
31+
image_name: ${{ github.repository }}
32+
dockerfile: ./packaging/docker/Dockerfile
33+
push: ${{ github.ref_name == 'main' }}
34+
cache_mode: max
35+
36+
docker-worker:
37+
uses: ./.github/workflows/.build-push-docker-image.yml
38+
with:
39+
image_name: ${{ github.repository }}-worker
40+
dockerfile: ./packaging/docker/worker.Dockerfile
41+
push: ${{ github.ref_name == 'main' }}
42+
cache_mode: off # cache is really slow for this file
43+
44+
2845
release:
29-
needs: build-worker-bundles
46+
needs:
47+
- build-worker-bundles
48+
- docker-backend
49+
- docker-worker
3050
runs-on: ubuntu-latest
3151
steps:
3252
- uses: actions/download-artifact@v8

0 commit comments

Comments
 (0)