From: Fl_GUI Date: Sun, 13 Apr 2025 16:43:26 +0000 (+0200) Subject: fix deploy script X-Git-Url: https://git.openfl.eu/?a=commitdiff_plain;h=e23b89ed8b3f59ba1b9fa738c498b703979aa4e7;p=yampl.git fix deploy script --- diff --git a/deploy.sh b/deploy.sh index ac4c8a6..b7bbc83 100755 --- 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