Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 9, 2023
1 parent 8488c79 commit f933881
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit f933881

Please sign in to comment.