We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877bb35 commit 4da3074Copy full SHA for 4da3074
.github/workflows/github-docker-registry-push.yml
@@ -121,14 +121,6 @@ jobs:
121
echo "BRANCH=$BRANCH_NAME" >> $GITHUB_ENV
122
id: extract_branch
123
124
- - name: Extract branch name and set BRANCH environment variable
125
- # This step extracts the branch name and sets the BRANCH environment variable
126
- shell: bash
127
- run: |
128
- BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed -e 's#/#-#g')
129
- if [[ "$BRANCH_NAME" == "main" ]]; then BRANCH_NAME=""; fi
130
- echo "BRANCH=$BRANCH_NAME" >> $GITHUB_ENV
131
-
132
- name: Set repository name to lowercase
133
# This step sets the repository name to lowercase
134
run: echo "REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
0 commit comments