Skip to content

Commit 7c36966

Browse files
authored
Update docker.yml
1 parent e6623f7 commit 7c36966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
name: Check out code
2020

2121
- name: Get all tags
22-
if: ${{ github.ref != 'refs/heads/main' }}
22+
if: ${{ github.ref_name != 'main' }}
2323
run: |
24-
tmptag=${{ github.ref}}
24+
tmptag=${{ github.ref_name}}
2525
arraytag=(${tmptag//./})
26-
TAGNAME=${arraytag[0]},${arraytag[1]},${{ github.ref}},latest
26+
TAGNAME=${arraytag[0]},${arraytag[1]},${{ github.ref_name}},latest
2727
2828
echo $TAGNAME
2929

0 commit comments

Comments
 (0)