Skip to content

Commit 86d0293

Browse files
committed
github workflow version extraction error fixed
1 parent 6970f70 commit 86d0293

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish-docker-hub.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515

1616
- name: Extract version number
1717
id: extract_version
18-
run: |
19-
VERSION=$(git describe --tags --abbrev=0)
20-
echo "RELEASE_VERSION=${VERSION}" >> $GITHUB_ENV
18+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
2119

2220
- name: Log in to Docker Hub
2321
uses: docker/login-action@v2

0 commit comments

Comments
 (0)