From f30cd465290c6ea523a068fe58268db4b66e65a9 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Thu, 5 Dec 2024 10:53:30 +0100 Subject: [PATCH] [ci][fix] Specify Docker image platform --- .github/workflows/speculos-builder.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/speculos-builder.yml b/.github/workflows/speculos-builder.yml index 947a2ec1..b373adbc 100644 --- a/.github/workflows/speculos-builder.yml +++ b/.github/workflows/speculos-builder.yml @@ -23,7 +23,11 @@ jobs: name: Build and push speculos-builder image strategy: matrix: - label: [ubuntu-latest, speculos-builder-2c-arm64-ubuntu_2404] + include: + - label: ubuntu-latest + platform: linux/amd64 + - label: speculos-builder-2c-arm64-ubuntu_2404 + platform: linux/arm64 runs-on: ${{ matrix.label }} permissions: packages: write @@ -48,6 +52,7 @@ jobs: - name: Build and push speculos-builder to GitHub Packages uses: docker/build-push-action@v6 with: + platforms: ${{ matrix.platform }} push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} file: build.Dockerfile tags: ghcr.io/ledgerhq/speculos-builder:latest