From 1962454003ec93b2a1bb904b9c4fac2d842e9230 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Wed, 29 Nov 2023 20:09:33 -0600 Subject: [PATCH] ci(docker): disable arm64 builds for now, due to two blockers - Docker using QEMU on amd64 is way too slow to produce amd64 images. - Github macos-latest-xlarge M1 runners don't support Docker --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92ec4f14..c98a82e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,8 @@ jobs: run: | DEFAULT_PLATFORM=linux/amd64 echo "default=$DEFAULT_PLATFORM" >> $GITHUB_OUTPUT - if ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}; then + # FIXME: Always use just the default platform because QEMU is way too slow to produce images. + if true || ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}; then platforms='["'"$DEFAULT_PLATFORM"'"]' else platforms='["linux/amd64","linux/arm64/v8"]' @@ -43,7 +44,9 @@ jobs: strategy: matrix: platform: ${{ fromJSON(needs.platforms.outputs.platforms) }} - runs-on: ${{ contains(matrix.platform, '/arm') && 'macos-latest-xlarge' || 'ubuntu-latest' }} + # FIXME: Can't use this because MacOS doesn't have Docker. + # runs-on: ${{ contains(matrix.platform, '/arm') && 'macos-latest-xlarge' || 'ubuntu-latest' }} + runs-on: ubuntu-latest steps: - name: free up disk space run: |