Skip to content

Commit 4e44a61

Browse files
authored
Make sure we have a tag or nothing (#28)
1 parent 5e4e868 commit 4e44a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Get the version
1919
id: get_version
20-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
20+
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
2121

2222
- name: Docker login
2323
run: echo '${{ secrets.DOCKER_PASSWORD }}' | docker login --username ${{ secrets.DOCKER_USERNAME }} --password-stdin

0 commit comments

Comments
 (0)