Skip to content

Commit 20eb1a8

Browse files
committed
Fix docker image push tags.
1 parent e2fcf13 commit 20eb1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/hook_container.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
shell: |
4040
TAG=$(git name-rev --tags --name-only HEAD | cut -f1 -d^)
4141
if [ "$(echo $TAG | tr -d [:space:])" == "undefined" ]; then
42-
git describe --all | cut -f2 -d/
42+
git describe --all | grep -o [^/]*$
4343
else
4444
echo $TAG
4545
fi

0 commit comments

Comments
 (0)