From aaedbbabf10caf20385073aa707b48e84b07d25e Mon Sep 17 00:00:00 2001 From: Lucio Tarantino Date: Sat, 21 Dec 2024 19:54:26 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0d3ad3..7823d53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,10 +24,35 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - + + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - name: Dump job context + env: + JOB_CONTEXT: ${{ toJson(job) }} + run: echo "$JOB_CONTEXT" + - name: Dump steps context + env: + STEPS_CONTEXT: ${{ toJson(steps) }} + run: echo "$STEPS_CONTEXT" + - name: Dump runner context + env: + RUNNER_CONTEXT: ${{ toJson(runner) }} + run: echo "$RUNNER_CONTEXT" + - name: Dump strategy context + env: + STRATEGY_CONTEXT: ${{ toJson(strategy) }} + run: echo "$STRATEGY_CONTEXT" + - name: Dump matrix context + env: + MATRIX_CONTEXT: ${{ toJson(matrix) }} + run: echo "$MATRIX_CONTEXT" + - name: Extract branch name shell: bash - run: echo "BR_PROJECT=$(TMP=${{github.ref_name}};echo ${TMP##*/})" >> "$GITHUB_OUTPUT" + run: echo "BR_PROJECT=$(TMP=${{github.head_ref}};echo ${TMP##*/})" >> "$GITHUB_OUTPUT" id: extract_branch - name: Publish ${{ steps.extract_branch.outputs.BR_VERSION }} Addon