Commit 9fd893a8 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

Update ci.yml

parent 33c7ff35
Pipeline #85094 failed with stages
in 2 minutes and 21 seconds
...@@ -60,12 +60,14 @@ docker_push: ...@@ -60,12 +60,14 @@ docker_push:
TAG="latest" TAG="latest"
if [[ -n "$WEBAPP_BRANCH" ]]; then if [[ -n "$WEBAPP_BRANCH" ]]; then
TAG="$WEBAPP_BRANCH" TAG="$WEBAPP_BRANCH"
if [[ $TAG == \.* ]]; then echo $TAG
if [[ $TAG == .* ]]; then
TAG=${TAG:1} TAG=${TAG:1}
fi fi
elif [[ -n "$WEBAPP_VERSION" ]]; then elif [[ -n "$WEBAPP_VERSION" ]]; then
TAG="$WEBAPP_VERSION" TAG="$WEBAPP_VERSION"
fi fi
echo $TAG
docker build -t $DOCKER_IMAGE_BASE:$TAG . docker build -t $DOCKER_IMAGE_BASE:$TAG .
docker push $DOCKER_IMAGE_BASE:$TAG docker push $DOCKER_IMAGE_BASE:$TAG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment