Skip to content

Commit 4547355

Browse files
committed
Arm runners
1 parent e2bf86c commit 4547355

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
4141
build-integration:
42-
runs-on: ubuntu-latest
42+
runs-on: ${{ matrix.platform == 'linux/arm64' && 'macos-13' || 'ubuntu-latest' }}
4343
if: needs.prepare-matrix.outputs.matrix != '[]'
4444
outputs:
4545
is_dev_version: ${{ steps.prepare_tags.outputs.is_dev_version }}
@@ -57,6 +57,10 @@ jobs:
5757
- name: Check out code
5858
uses: actions/checkout@v4
5959

60+
- name: Setup docker (missing on MacOS)
61+
if: matrix.platform == 'linux/arm64'
62+
uses: douglascamata/setup-docker-macos-action@v1-alpha
63+
6064
- name: Set up QEMU
6165
uses: docker/setup-qemu-action@v3
6266
with:
@@ -113,10 +117,10 @@ jobs:
113117
username: ${{ secrets.DOCKER_MACHINE_USER }}
114118
password: ${{ secrets.DOCKER_MACHINE_TOKEN }}
115119

116-
- name: Cache Docker images
117-
uses: ScribeMD/docker-cache@0.5.0
118-
with:
119-
key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}
120+
# - name: Cache Docker images
121+
# uses: ScribeMD/docker-cache@0.5.0
122+
# with:
123+
# key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}
120124

121125
- name: Build
122126
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)