Skip to content

Commit

Permalink
Allow customizing the tag of builder image.
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Jul 14, 2024
1 parent 92b5236 commit 31206de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ on:
required: false
default: 'ledger-app-builder-lite'
type: string
builder_tag:
description: "The tag of the docker image to build the application in (defaults to latest)"
required: false
default: 'latest'
type: string

jobs:
call_get_app_metadata:
Expand All @@ -65,7 +70,7 @@ jobs:
device: ${{ fromJSON(needs.call_get_app_metadata.outputs.compatible_devices) }}
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/${{ inputs.builder }}:latest
image: ghcr.io/ledgerhq/ledger-app-builder/${{ inputs.builder }}:${{ inputs.builder_tag }}

steps:
- name: Clone
Expand Down

0 comments on commit 31206de

Please sign in to comment.