Skip to content

Commit 7c02a85

Browse files
committed
prepare dynamic docker tag in github actions #10
1 parent 4f1ae85 commit 7c02a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set docker tag for github tags
4040
if: ${{ env.BRANCH_NAME != 'main' }}
4141
shell: bash
42-
run: echo "DOCKERTAG=$(echo "${{ env.BRANCH_NAME }}" | cut -c 2-)" >> $GITHUB_ENV
42+
run: echo "DOCKERTAG=$(echo "${{ env.BRANCH_NAME }}" | sed 's/refs-tags-v//')" >> $GITHUB_ENV
4343
- name: Debug docker tag
4444
run: echo ${{ env.DOCKERTAG }}
4545
- name: Set up QEMU

0 commit comments

Comments
 (0)