File tree Expand file tree Collapse file tree 3 files changed +21
-50
lines changed Expand file tree Collapse file tree 3 files changed +21
-50
lines changed Original file line number Diff line number Diff line change 11name : 🚀 Publish Trigger.dev Docker
22
33on :
4- workflow_call :
5- inputs :
6- image_tag :
7- description : The image tag to publish
8- required : true
9- type : string
104 push :
11- branches :
12- - main
13- tags :
14- - " v.docker.*"
15- - " build-*"
16- paths :
17- - " .github/actions/**/*.yml"
18- - " .github/workflows/publish.yml"
19- - " .github/workflows/typecheck.yml"
20- - " .github/workflows/unit-tests.yml"
21- - " .github/workflows/e2e.yml"
22- - " .github/workflows/publish-webapp.yml"
23- - " .github/workflows/publish-worker.yml"
24- - " packages/**"
25- - " !packages/**/*.md"
26- - " !packages/**/*.eslintrc"
27- - " internal-packages/**"
28- - " apps/**"
29- - " !apps/**/*.md"
30- - " !apps/**/*.eslintrc"
31- - " pnpm-lock.yaml"
32- - " pnpm-workspace.yaml"
33- - " turbo.json"
34- - " docker/Dockerfile"
35- - " docker/scripts/**"
36- - " tests/**"
375
386permissions :
397 id-token : write
5422 units :
5523 uses : ./.github/workflows/unit-tests.yml
5624 secrets : inherit
57-
58- publish-webapp :
59- needs : [typecheck, units]
60- uses : ./.github/workflows/publish-webapp.yml
61- secrets : inherit
62- with :
63- image_tag : ${{ inputs.image_tag }}
64-
65- publish-worker :
66- needs : [typecheck, units]
67- uses : ./.github/workflows/publish-worker.yml
68- secrets : inherit
69- with :
70- image_tag : ${{ inputs.image_tag }}
Original file line number Diff line number Diff line change 55
66jobs :
77 typecheck :
8- runs-on : ubuntu-latest
9-
8+ strategy :
9+ fail-fast : true
10+ matrix :
11+ runs-on :
12+ - buildjet-2vcpu-ubuntu-2204
13+ - buildjet-4vcpu-ubuntu-2204
14+ - buildjet-8vcpu-ubuntu-2204
15+ - buildjet-16vcpu-ubuntu-2204
16+ - buildjet-32vcpu-ubuntu-2204
17+ runs-on : ${{matrix.runs-on}}
1018 steps :
1119 - name : ⬇️ Checkout repo
1220 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 55
66jobs :
77 unitTests :
8- name : " 🧪 Unit Tests"
9- runs-on : ubuntu-latest
8+ name : " 🧪 Unit Tests - ${{ matrix.runs-on }}"
9+ strategy :
10+ fail-fast : true
11+ matrix :
12+ runs-on :
13+ - buildjet-2vcpu-ubuntu-2204
14+ - buildjet-4vcpu-ubuntu-2204
15+ - buildjet-8vcpu-ubuntu-2204
16+ - buildjet-16vcpu-ubuntu-2204
17+ - buildjet-32vcpu-ubuntu-2204
18+ runs-on : ${{matrix.runs-on}}
1019 steps :
1120 - name : ⬇️ Checkout repo
1221 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments