Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci][fix] Specify Docker image platform #533

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading