Skip to content

Commit bad4a13

Browse files
committed
Try getting the tag again with replacement
1 parent ecf2e0e commit bad4a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Build the image
1919
run: docker build -t mendhak/test-image .
2020
- name: Get the tag name
21-
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
21+
run: echo "TAG=$(echo ${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
2222
- name: Log in to Docker Hub
2323
uses: docker/login-action@v1
2424
with:

0 commit comments

Comments
 (0)