This commit is contained in:
2023-11-23 15:38:17 -06:00
parent 1d682a58da
commit 8b43a98da5

View File

@@ -2,9 +2,9 @@
#%%MULTILINE_YAML_START
#Push container to gitlab
containername=$(echo "$PROJECT_NAME" | awk '{print tolower($0)}')
if [[ "$VERSION" =~ ^([0-9]+(\.[0-9]+)*)$ ]]
then
tag="latest"
if echo "$VERSION" | grep -Eq '^[0-9]+(\.[0-9]+)*$'; then
tag="latest"
else
tag="dev"
fi