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

View File

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