From 4547355834a55f2794448612a37688f4d2c8695e Mon Sep 17 00:00:00 2001 From: erikzaadi Date: Tue, 15 Oct 2024 16:58:49 +0300 Subject: [PATCH] Arm runners --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac33992b62..0d546c3d95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: build-integration: - runs-on: ubuntu-latest + runs-on: ${{ matrix.platform == 'linux/arm64' && 'macos-13' || 'ubuntu-latest' }} if: needs.prepare-matrix.outputs.matrix != '[]' outputs: is_dev_version: ${{ steps.prepare_tags.outputs.is_dev_version }} @@ -57,6 +57,10 @@ jobs: - name: Check out code uses: actions/checkout@v4 + - name: Setup docker (missing on MacOS) + if: matrix.platform == 'linux/arm64' + uses: douglascamata/setup-docker-macos-action@v1-alpha + - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -113,10 +117,10 @@ jobs: username: ${{ secrets.DOCKER_MACHINE_USER }} password: ${{ secrets.DOCKER_MACHINE_TOKEN }} - - name: Cache Docker images - uses: ScribeMD/docker-cache@0.5.0 - with: - key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }} + # - name: Cache Docker images + # uses: ScribeMD/docker-cache@0.5.0 + # with: + # key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }} - name: Build uses: docker/build-push-action@v6