diff --git a/entrypoint.sh b/entrypoint.sh index cd02fb51..78f86482 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -26,7 +26,8 @@ esac echo $new dt=$(date '+%Y-%m-%dT%H:%M:%SZ') -repo=$(basename `git rev-parse --show-toplevel`) +remote=$(git config --get remote.origin.url) +repo=$(basename $remote .git) echo "$dt: **pushing tag $new to repo $REPO_OWNER/$repo"