Skip to content

Commit

Permalink
Merge pull request #533 from LedgerHQ/fix/speculos-builder
Browse files Browse the repository at this point in the history
[ci][fix] Specify Docker image platform
  • Loading branch information
lpascal-ledger authored Dec 5, 2024
2 parents 28dd07c + f30cd46 commit cdf3ba4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/speculos-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit cdf3ba4

Please sign in to comment.