Skip to content

Commit 756cffb

Browse files
authored
chore: fix intermittent arm docker build errors (#3732)
* feat(ci): add docker/setup-qemu-action to build step + update build-push-action * fix(ci): use arm runner during arm builds * Revert "fix(ci): use arm runner during arm builds" This reverts commit 3fb8275. * chore(ci): specify specific platform * chore: try slim image instead of alpine for dockerfiles * Revert "chore: try slim image instead of alpine for dockerfiles" This reverts commit 1507ed2. * Reapply "fix(ci): use arm runner during arm builds" This reverts commit ed822ac. * chore(ci): try arm runner * chore(ci): remove QEMU step
1 parent 0d649ca commit 756cffb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/node-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ jobs:
436436
fi
437437
438438
docker-build:
439-
runs-on: ubuntu-latest
439+
runs-on: ${{ matrix.platform.name == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-latest' }}
440440
needs: version-generator
441441
timeout-minutes: 10
442442
env:
@@ -457,10 +457,10 @@ jobs:
457457
steps:
458458
- name: Checkout code
459459
uses: actions/checkout@v4
460-
- name: Set up QEMU
461-
uses: docker/setup-qemu-action@v3
462460
- name: Set up Docker Buildx
463461
uses: docker/setup-buildx-action@v3
462+
with:
463+
platforms: ${{ matrix.platform.arch }}
464464
- name: Build
465465
uses: docker/build-push-action@v6
466466
with:

0 commit comments

Comments
 (0)