]> git.openfl.eu Git - yampl.git/commitdiff
fix deploy script
authorFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 16:43:58 +0000 (18:43 +0200)
committerFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 16:43:58 +0000 (18:43 +0200)
deploy.sh

index b7bbc83f9b61d9d6c4389ed356b08adf7d016112..3582e1e71d8e62cc618e0375a468a9f2e50a7d86 100755 (executable)
--- 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 --abrev-ref HEAD"
+  gitbranch=$(git rev-parse --abrev-ref HEAD)
 
   newimage="containers.openfl.eu/local/yampl:$gitbranch"
   podman tag $image $newimage