Skip to content

Commit

Permalink
[ci][fix] Speculos builder workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Dec 5, 2024
1 parent 5d6e138 commit 64c796c
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/speculos-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ on:
paths:
- .github/workflows/speculos-builder.yml
- build.Dockerfile
pull_request:
branches:
- master
paths:
- .github/workflows/speculos-builder.yml
- build.Dockerfile


jobs:
build:
Expand All @@ -22,13 +29,12 @@ jobs:
- name: Clone
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push speculos-builder to GitHub Packages
uses: docker/build-push-action@v1
uses: docker/build-push-action@v6
with:
dockerfile: build.Dockerfile
repository: ledgerhq/speculos-builder
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
tag_with_sha: true
tags: latest
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
file: build.Dockerfile
tags: ghcr.io/ledgerhq/speculos-builder:latest

0 comments on commit 64c796c

Please sign in to comment.