mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
refactor: app deployment
This commit is contained in:
7
.gitlab/ci/pushAsLatestVersion.sh
Normal file
7
.gitlab/ci/pushAsLatestVersion.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# If this is a pipeline of a version tag, also push this version
|
||||
# as latest to the registry alias $2:latest
|
||||
if echo -n $1 | grep -Eq 'v[0-9]+\.[0-9]+\.[0-9]+'; then
|
||||
docker push $2:latest;
|
||||
fi
|
||||
Reference in New Issue
Block a user