Skip to content

Commit

Permalink
[ci][fix] Specify Docker image platform
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Dec 5, 2024
1 parent 28dd07c commit da3ae60
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/adm64
- 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 da3ae60

Please sign in to comment.