Skip to content

Commit 8cdf43e

Browse files
authored
Fix tag logic
1 parent beb0502 commit 8cdf43e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
- name: Get publish tag
5656
id: publish
5757
run: |
58-
if [[ $GITHUB_REF != refs/tags/* ]]; then
59-
TAG="${GITHUB_REF##*/}"
58+
if [[ $GITHUB_REF == refs/tags/* ]]; then
59+
TAG="${GITHUB_REF#refs/tags/}"
6060
else
6161
TAG=$GITHUB_SHA
6262
fi

0 commit comments

Comments
 (0)