Skip to content

Commit 302b4f2

Browse files
Add arm64 image
1 parent 7c75baa commit 302b4f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ jobs:
1212
matrix:
1313
include:
1414
- dockerfile: ./5.8/ubuntu/18.04/Dockerfile
15+
platforms: 'linux/amd64'
1516
tags:
1617
- ghcr.io/swiftwasm/swift:5.8-bionic
1718
- ghcr.io/swiftwasm/swift:bionic
1819
- dockerfile: ./5.8/ubuntu/20.04/Dockerfile
20+
platforms: 'linux/amd64'
1921
tags:
2022
- ghcr.io/swiftwasm/swift:5.8-focal
2123
- ghcr.io/swiftwasm/swift:focal
2224
- dockerfile: ./5.8/ubuntu/22.04/Dockerfile
25+
platforms: 'linux/amd64,linux/arm64'
2326
tags:
2427
- ghcr.io/swiftwasm/swift:5.8-jammy
2528
- ghcr.io/swiftwasm/swift:jammy
@@ -29,6 +32,7 @@ jobs:
2932
- uses: actions/checkout@v3
3033
- name: Set up Docker Buildx
3134
uses: docker/setup-buildx-action@v2
35+
- uses: docker/setup-qemu-action@v2
3236
- name: Login to DockerHub
3337
uses: docker/login-action@v2
3438
with:
@@ -38,6 +42,7 @@ jobs:
3842
- name: Push ${{ matrix.dockerfile }}
3943
uses: docker/build-push-action@v3
4044
with:
45+
platforms: ${{ matrix.platforms }}
4146
file: ${{ matrix.dockerfile }}
4247
push: true
4348
tags: ${{ join(matrix.tags, ',') }}

0 commit comments

Comments
 (0)