File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,35 @@ jobs:
3838 tag_name : ${{ steps.get_variables.outputs.VERSION }}
3939 body : ${{ steps.changelog.outputs.changes }}
4040
41+ - name : Set up QEMU
42+ uses : docker/setup-qemu-action@v3
43+
44+ - name : Set up Docker Buildx
45+ uses : docker/setup-buildx-action@v3
46+
4147 - name : Log in to GitHub Container Registry
42- uses : docker/login-action@v2
48+ uses : docker/login-action@v3
4349 with :
4450 registry : ghcr.io
4551 username : ${{ github.actor }}
4652 password : ${{ secrets.GIT_TOKEN }}
4753
48- - name : Build and push Docker image to GHCR
49- uses : docker/build-push-action@v4
54+ - name : Build arm64 image
55+ uses : docker/build-push-action@v5
56+ with :
57+ context : .
58+ push : true
59+ platforms : linux/arm64
60+ tags : |
61+ ghcr.io/${{ github.repository_owner }}/securechain-gateway:latest-arm64
62+ ghcr.io/${{ github.repository_owner }}/securechain-gateway:${{ steps.get_variables.outputs.VERSION }}-arm64
63+
64+ - name : Build amd64 image
65+ uses : docker/build-push-action@v5
5066 with :
5167 context : .
5268 push : true
69+ platforms : linux/amd64
5370 tags : |
5471 ghcr.io/${{ github.repository_owner }}/securechain-gateway:latest
5572 ghcr.io/${{ github.repository_owner }}/securechain-gateway:${{ steps.get_variables.outputs.VERSION }}
You can’t perform that action at this time.
0 commit comments