Skip to content

Commit

Permalink
Arm runners
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Oct 15, 2024
1 parent e2bf86c commit 4547355
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down Expand Up @@ -113,10 +117,10 @@ jobs:
username: ${{ secrets.DOCKER_MACHINE_USER }}
password: ${{ secrets.DOCKER_MACHINE_TOKEN }}

- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}
# - name: Cache Docker images
# uses: ScribeMD/[email protected]
# with:
# key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}

- name: Build
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 4547355

Please sign in to comment.