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