Skip to content

Commit

Permalink
Add a parameter in test-docker-distribution action to embed or not ca…
Browse files Browse the repository at this point in the history
…rdano-cli
  • Loading branch information
sfauvel committed Jun 28, 2024
1 parent 008e11f commit b648bd0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test-docker-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ on:
on it otherwise no binary would be available leading to the failure of this workflow.
required: true
type: string
embed_cardano_cli:
description: |
Embed Cardano-cli in the Docker image.
Only needed if you want to use cardano-cli chain observer.
required: true
type: boolean
default: false
cardano_bin_url:
description: The url of the archive of the Cardano binaries
required: true
Expand Down Expand Up @@ -90,6 +97,6 @@ jobs:
with:
context: ${{ env.CONTEXT }}
file: ${{ env.DOCKER_FILE }}
build-args: CARDANO_BIN_URL=${{ inputs.cardano_bin_url }}
build-args: CARDANO_BIN_URL=${{ inputs.cardano_bin_url }},EMBED-CARDANO-CLI=${{ inputs.embed_cardano_cli && 1 || 0 }}
push: ${{ inputs.dry_run == false }}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit b648bd0

Please sign in to comment.