Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Helmholtz Cloud Portal
Helmholtz Marketplace Server
Commits
9fd893a8
Commit
9fd893a8
authored
Jul 06, 2021
by
Thomas Beermann
Browse files
Update ci.yml
parent
33c7ff35
Pipeline
#85094
failed with stages
in 2 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab/ci/ci.yml
View file @
9fd893a8
...
...
@@ -60,12 +60,14 @@ docker_push:
TAG="latest"
if [[ -n "$WEBAPP_BRANCH" ]]; then
TAG="$WEBAPP_BRANCH"
if [[ $TAG == \.* ]]; then
echo $TAG
if [[ $TAG == .* ]]; then
TAG=${TAG:1}
fi
elif [[ -n "$WEBAPP_VERSION" ]]; then
TAG="$WEBAPP_VERSION"
fi
echo $TAG
docker build -t $DOCKER_IMAGE_BASE:$TAG .
docker push $DOCKER_IMAGE_BASE:$TAG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment