Skip to content

Commit

Permalink
Fix get branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsume-197 committed Mar 30, 2024
1 parent 4a8bffe commit db79e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
# branch name
BRANCH_NAME: ${{ github.ref_name }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}


jobs:
Expand Down

0 comments on commit db79e11

Please sign in to comment.