From 18359279b417b94b949c9c3fab9a88c7ceb33106 Mon Sep 17 00:00:00 2001 From: Fl_GUI Date: Sun, 13 Apr 2025 19:01:06 +0200 Subject: [PATCH] fix deploy script --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.1