Commit 634a8bcb authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix version_to_deploy (was modified forcing it to be dirty)

parent eb4aa002
...@@ -70,7 +70,8 @@ done ...@@ -70,7 +70,8 @@ done
chownRoot=${chownRoot:-$nomadRoot/servers/$target_hostname} chownRoot=${chownRoot:-$nomadRoot/servers/$target_hostname}
if [ -n "$buildDocker" ] ; then if [ -n "$buildDocker" ] ; then
git describe --tags --always --dirty > version_to_deploy v=$(git describe --tags --always --dirty)
echo $v > version_to_deploy
fi fi
version=$(cat version_to_deploy) version=$(cat version_to_deploy)
name="gitlab-registry.mpcdf.mpg.de/nomad-lab/container-manager:$version" name="gitlab-registry.mpcdf.mpg.de/nomad-lab/container-manager:$version"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment