From: Fl_GUI Date: Sun, 13 Apr 2025 17:01:06 +0000 (+0200) Subject: fix deploy script X-Git-Url: https://git.openfl.eu/?a=commitdiff_plain;h=18359279b417b94b949c9c3fab9a88c7ceb33106;p=yampl.git fix deploy script --- diff --git a/deploy.sh b/deploy.sh index a935448..446beb8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -64,7 +64,7 @@ echoSection "" if [ -z "$CONTAINER_REGISTRY_USERNAME$CONTAINER_REGISTRY_PASSWORD" ] ; then echoSection "skip" else - gitbranch=$(git rev-parse --abbrev-ref HEAD) + gitbranch=$(git branch --contains HEAD --format='%(refname:short)' | tail -n -1 | head -n 1 newimage="containers.openfl.eu/local/yampl:$gitbranch" podman tag $image $newimage