File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 28
28
deploy :
29
29
needs : test
30
30
# !cancelled() is needed because if the whole workflow was cancelled, we don't want this job to run.
31
- # (github.ref_type != 'tag' || needs.test.result == 'success') is needed because if `test` did run, we only want this to run if `test` succeeded.
32
- if : (!cancelled() && (github.ref_type != 'tag' || needs.test.result == 'success'))
31
+ if : (!cancelled())
33
32
runs-on : ubuntu-latest
34
33
environment : ${{ github.ref_type != 'tag' && github.ref_name || contains(github.ref, '-rc') && 'test' || 'prod' }}
35
34
@@ -65,13 +64,17 @@ jobs:
65
64
username : ${{ github.actor }}
66
65
password : ${{ secrets.GITHUB_TOKEN }}
67
66
67
+ - name : Set up QEMU
68
+ uses : docker/setup-qemu-action@v3
69
+
68
70
- name : Set up Docker Buildx
69
71
id : buildx
70
72
uses : docker/setup-buildx-action@v3
71
73
72
74
- name : Build, tag, and push image to GitHub Container Registry
73
75
uses : docker/build-push-action@v6
74
76
with :
77
+ platforms : linux/amd64,linux/arm64
75
78
builder : ${{ steps.buildx.outputs.name }}
76
79
build-args : GIT-SHA=${{ github.sha }}
77
80
cache-from : type=gha,scope=cal-itp
You can’t perform that action at this time.
0 commit comments