Skip to content

Commit a2a8ba7

Browse files
authored
feat(ci/docker/backend): Support arm64 (#401)
1 parent 3ded6ef commit a2a8ba7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/dockerPush.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
- name: Check out the repo
2323
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2424

25+
- name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v3
27+
with:
28+
# driver-opts: network=host
29+
platforms: linux/amd64,linux/arm64
30+
2531
- name: Log in to Docker Hub
2632
uses: docker/[email protected]
2733
with:
@@ -37,10 +43,12 @@ jobs:
3743
- name: Build and push Docker image
3844
uses: docker/[email protected]
3945
with:
46+
platforms: linux/amd64,linux/arm64
4047
context: Backend/
4148
push: true
4249
tags: ${{ steps.meta.outputs.tags }}
4350
labels: ${{ steps.meta.outputs.labels }}
51+
4452
frontend:
4553
name: Build and push Frontend image
4654
runs-on: ubuntu-latest
@@ -53,7 +61,7 @@ jobs:
5361
- name: Set up Docker Buildx
5462
uses: docker/setup-buildx-action@v3
5563
with:
56-
driver-opts: network=host
64+
# driver-opts: network=host
5765
platforms: linux/amd64,linux/arm64
5866

5967
- name: Log in to Docker Hub

0 commit comments

Comments
 (0)