Skip to content

Commit

Permalink
Remove temporary special steps from ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Lipp committed May 14, 2021
1 parent f3da059 commit 2bf8e0d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ stages:
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
LATEST_TAG: $CI_REGISTRY_IMAGE:latest
LOV_TAG : $CI_REGISTRY_IMAGE:lov

docker_build_and_push:
image: docker:19.03
Expand All @@ -26,20 +25,3 @@ docker_build_and_push:
- docker push $LATEST_TAG
only:
- main

docker_build_and_push_lov:
image: docker:19.03
stage: push
services:
- docker:dind
script:
- apk update
- apk add gettext # required for envsubst below
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- envsubst < app/src/assets/env.template.js > app/src/assets/env.js
- docker build --build-arg METEOR_CLIENT_CONN_URL=$CLIENT_CONN_URL -t $IMAGE_TAG .
- docker push $IMAGE_TAG
- docker tag $IMAGE_TAG $LOV_TAG
- docker push $LOV_TAG
only:
- final_thesis

0 comments on commit 2bf8e0d

Please sign in to comment.