Skip to content

Commit

Permalink
Issue #3673: enhance the debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Aug 13, 2024
1 parent 6b92e5c commit 8643449
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/actions/docker_image_builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,20 @@ runs:

steps:

- name: 'devel output'
-
# Print some info that is useful for development and verification.
# Use environment variables as the generated JSON may contain
# unescapted quotes which mess up bash syntax.
name: 'devel output'
shell: bash
run: |
echo 'inputs.dummy-input: ${{ inputs.dummy-input }}'
echo 'env: ' $ENV_AS_JSON
echo 'inputs: ' $INPUTS_AS_JSON
echo 'inputs: ' $GITHUB_AS_JSON
env:
ENV_AS_JSON: ${{ toJSON(env) }}
INPUTS_AS_JSON: ${{ toJSON(inputs) }}
GITHUB_AS_JSON: ${{ toJSON(github) }}

- name: 'Set up Docker Buildx'
uses: docker/setup-buildx-action@v3
3 changes: 2 additions & 1 deletion .github/workflows/docker_image_builder_devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ jobs:
if: steps.changes.outputs.context == 'true'
uses: ./.github/actions/docker_image_builder
with:
dummy-input: 'just testing. devel'
context: ${{ matrix.context }}
dockerfile: ${{ matrix.dockerfile }}

-
# Build the image but do not push it to Docker Hub yet.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker_image_builder_rel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ jobs:
#if: steps.changes.outputs.context == 'true'
uses: ./.github/actions/docker_image_builder
with:
dummy-input: 'just testing, rel'
context: ${{ matrix.context }}
dockerfile: ${{ matrix.dockerfile }}

0 comments on commit 8643449

Please sign in to comment.