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

index ac4c8a6a77bc4cea466976943e51fb2a7d1ac69d..b7bbc83f9b61d9d6c4389ed356b08adf7d016112 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -61,10 +61,10 @@ fi
 section="push image"
 echoSection ""
 
-if [ -z "$CONTAINER_REGISTRY_USERNAME$CONTAINER_REGISTRY_PASSWORD"] ; then
+if [ -z "$CONTAINER_REGISTRY_USERNAME$CONTAINER_REGISTRY_PASSWORD" ] ; then
   echoSection "skip"
 else
-  gitbranch="git rev-pars --abrev-ref HEAD"
+  gitbranch="git rev-parse --abrev-ref HEAD"
 
   newimage="containers.openfl.eu/local/yampl:$gitbranch"
   podman tag $image $newimage