Skip to content

Commit ff23ae9

Browse files
author
mmahipal
committed
changed Github actions to use branch name as tag
1 parent c798887 commit ff23ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
# extract branch name
3939
- name: Extract branch name
4040
if: github.event_name != 'pull_request'
41-
run: BRANCH_NAME=${GITHUB_REF#refs/heads/}"
41+
run: BRANCH_NAME=${GITHUB_REF#refs/heads/}
4242

4343
# extract branch name on pull request
4444
- name: Extract branch name
4545
if: github.event_name == 'pull_request'
46-
run: BRANCH_NAME=${GITHUB_HEAD_REF}"
46+
run: BRANCH_NAME=${GITHUB_HEAD_REF}
4747

4848
# Build and push Operator image (don't push on PR)
4949
- name: Build and push Docker image

0 commit comments

Comments
 (0)