diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 62168bd..8f9eb0c 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -30,9 +30,19 @@ jobs: - name: 🏷️ Fetch Commit SHA run: echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + - name: 🏷️ Commit SHA + run: | + source $GITHUB_ENV + echo "SHA_SHORT: ${SHA_SHORT}" + - name: 🏷️ Extract Branch Name run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV + - name: 🏷️ Branch Name + run: | + source $GITHUB_ENV + echo "BRANCH_NAME: ${BRANCH_NAME}" + - name: 🏷️ Define Tags run: | # Always set the default tags @@ -45,7 +55,6 @@ jobs: - name: 🏷️ Echo Tags run: | - # Source the GITHUB_ENV to make sure we have the latest values in the current shell session source $GITHUB_ENV echo "TAGS: ${TAGS}"