We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf2e0e commit bad4a13Copy full SHA for bad4a13
1 file changed
.github/workflows/publish.yml
@@ -18,7 +18,7 @@ jobs:
18
- name: Build the image
19
run: docker build -t mendhak/test-image .
20
- name: Get the tag name
21
- run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
+ run: echo "TAG=$(echo ${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
22
- name: Log in to Docker Hub
23
uses: docker/login-action@v1
24
with:
0 commit comments