Select Git revision
.gitlab-ci.yml

Alexandra authored
.gitlab-ci.yml 334 B
build:
stage: bundle
services:
- docker:18.09.6-dind
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.e-biz.fr
- docker build -t $CI_REGISTRY_IMAGE/theia:$TAG .
- docker push $CI_REGISTRY_IMAGE/theia:$TAG
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
- if: '$CI_COMMIT_TAG !~ "/^$/"'