show debug

This commit is contained in:
cytopia
2022-03-25 14:01:09 +01:00
parent 99bd1d2cdb
commit b50a688add
2 changed files with 18 additions and 5 deletions

View File

@@ -31,6 +31,18 @@ jobs:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
debug:
needs: [configure]
name: Debug
runs-on: ubuntu-latest
steps:
- name: "[DEBUG] Show configure outputs"
shell: bash
run: |
echo 'matrix_build=${{ needs.configure.outputs.matrix_build }}'
echo 'has_refs=${{ needs.configure.outputs.has_refs }}'
echo 'artifact_prefix=${{ needs.configure.outputs.artifact_prefix }}'
# (2/2) Build 'base'
base:
needs: [params, configure]

View File

@@ -1,3 +1,4 @@
---
name: Configure Pipeline for multi-arch image build
on:
@@ -110,13 +111,13 @@ jobs:
PRE_RAND="$( echo $RANDOM | md5sum | head -c 10 )"
echo "::set-output name=prefix::${PRE_DATE}-${PRE_RAND}"
- name: "[DEBUG] SHow Workflow Inputs"
- name: "[DEBUG] Show Workflow Inputs"
shell: bash
run: |
echo 'enabled: ${{ inputs.enabled }} '
echo 'can_deploy: ${{ inputs.can_deploy }} '
echo 'matrix: ${{ inputs.matrix }} '
echo 'refs: ${{ inputs.refs }} '
echo 'enabled: ${{ inputs.enabled }}'
echo 'can_deploy: ${{ inputs.can_deploy }}'
echo 'matrix: ${{ inputs.matrix }}'
echo 'refs: ${{ inputs.refs }}'
- name: "[DEBUG] Show Determined Settings"
shell: bash