Skip to content

Commit 086085f

Browse files
Exclude arm64 from Amazon Linux 2 image build
It somehow fails to install CMake, so let's exclude it for now as we don't use it anyway.
1 parent 3f02918 commit 086085f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ jobs:
1616
matrix:
1717
include:
1818
- dockerfile: swift-ci/main/ubuntu/18.04/Dockerfile
19+
platforms: linux/amd64,linux/arm64
1920
tags:
2021
- ghcr.io/swiftwasm/swift-ci:main-ubuntu-18.04
2122
- dockerfile: swift-ci/main/ubuntu/20.04/Dockerfile
23+
platforms: linux/amd64,linux/arm64
2224
tags:
2325
- ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04
2426
- dockerfile: swift-ci/main/ubuntu/22.04/Dockerfile
27+
platforms: linux/amd64,linux/arm64
2528
tags:
2629
- ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04
2730
- dockerfile: swift-ci/main/amazon-linux/2/Dockerfile
31+
platforms: linux/amd64
2832
tags:
2933
- ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2
3034
steps:
@@ -39,7 +43,7 @@ jobs:
3943
- name: Push ${{ matrix.dockerfile }}
4044
uses: docker/build-push-action@v3
4145
with:
42-
platforms: linux/amd64,linux/arm64
46+
platforms: ${{ matrix.platforms }}
4347
context: .
4448
file: ${{ matrix.dockerfile }}
4549
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)