.gitlab-ci.yml: remove ce suffix from CI scripts

This commit is contained in:
Adhityaa Chandrasekar 2018-12-29 00:55:06 -05:00
parent 642076a231
commit 612e620ffc

View File

@ -58,7 +58,7 @@ build-docker:
- master - master
- tags - tags
script: script:
- docker build -t commento-ce . - docker build -t commento .
go-test: go-test:
stage: go-test stage: go-test
@ -99,13 +99,13 @@ docker-registry-master:
services: services:
- docker:dind - docker:dind
only: only:
- master@commento/commento-ce - master@commento/commento
before_script: before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
script: script:
- docker pull registry.gitlab.com/commento/commento-ce:latest || true - docker pull registry.gitlab.com/commento/commento:latest || true
- docker build --cache-from registry.gitlab.com/commento/commento-ce:latest --tag registry.gitlab.com/commento/commento-ce:latest . - docker build --cache-from registry.gitlab.com/commento/commento:latest --tag registry.gitlab.com/commento/commento:latest .
- docker push registry.gitlab.com/commento/commento-ce:latest - docker push registry.gitlab.com/commento/commento:latest
docker-registry-tags: docker-registry-tags:
stage: docker-registry-tags stage: docker-registry-tags
@ -118,5 +118,5 @@ docker-registry-tags:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
script: script:
- apk add git - apk add git
- docker build --tag registry.gitlab.com/commento/commento-ce:$(git describe --tags) . - docker build --tag registry.gitlab.com/commento/commento:$(git describe --tags) .
- docker push registry.gitlab.com/commento/commento-ce:$(git describe --tags) - docker push registry.gitlab.com/commento/commento:$(git describe --tags)