mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
1d682a58da
commit
8b43a98da5
1 changed files with 3 additions and 3 deletions
|
|
@ -2,8 +2,8 @@
|
|||
#%%MULTILINE_YAML_START
|
||||
#Push container to gitlab
|
||||
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"
|
||||
else
|
||||
tag="dev"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue