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_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }} 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' # (2/2) Build 'base'
base: base:
needs: [params, configure] needs: [params, configure]

View File

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