Skip to content

Commit

Permalink
chore: 修正分支名称获取
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Oct 12, 2024
1 parent 7e2e53b commit 99b2cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract Git Tag
run: echo "GIT_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Extract Git Branch
run: echo "GIT_BRANCH=${GITHUB_REF/refs\/heads\//}" >> $GITHUB_ENV

- name: Build and push
id: docker_build
Expand Down

0 comments on commit 99b2cbd

Please sign in to comment.