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 3da4c38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 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,8 @@ jobs:
with:
context: ${{ env.CONTEXT }}
file: ${{ env.DOCKER_FILE }}
build-args: CARDANO_BIN_URL=${{ inputs.cardano_bin_url }}
build-args: |
EMBED-CARDANO-CLI=${{ inputs.embed_cardano_cli && 1 || 0 }}
CARDANO_BIN_URL=${{ inputs.cardano_bin_url }}
push: ${{ inputs.dry_run == false }}
tags: ${{ steps.meta.outputs.tags }}
Binary file modified docs/runbook/test-docker-distribution/img/run-workflow-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3da4c38

Please sign in to comment.