Skip to content

Commit 8d94726

Browse files
add docker multi-arch builds
1 parent d13d773 commit 8d94726

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
1312
steps:
1413
- uses: actions/checkout@v4
1514

@@ -30,10 +29,11 @@ jobs:
3029
CI: false
3130

3231
docker:
33-
3432
runs-on: ubuntu-latest
33+
strategy:
34+
matrix:
35+
architecture: [ amd64, arm64 ]
3536
needs: build
36-
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4
@@ -61,4 +61,5 @@ jobs:
6161
with:
6262
context: .
6363
push: true
64-
tags: xcodeassociated/react-typescript-vite-template:latest
64+
platforms: linux/${{ matrix.architecture }}
65+
tags: xcodeassociated/react-typescript-vite-template_${{ matrix.architecture }}:latest

0 commit comments

Comments
 (0)