Commit 2a614245 authored by Millicent Billette's avatar Millicent Billette

Update .gitlab-ci.yml

parent e48fd5a1
Pipeline #2315 failed with stages
in 7 minutes and 29 seconds
......@@ -3,15 +3,9 @@ stages:
- alt_build
- publish
variables:
DOCKER_REGISTRY: registry.duniter.org
IMAGE_NAME: $CI_REGISTRY_IMAGE
# $CI_REGISTRY_IMAGE:$CI_BUILD_TAG
# IMAGE_NAME: docker/geconomicus_ci
fast-build:
stage: build
image: $DOCKER_REGISTRY/$IMAGE_NAME
image: $CI_REGISTRY/$CI_REGISTRY_IMAGE
script:
#- ./update_translation.sh
- ./build.sh
......@@ -68,9 +62,9 @@ docker-for-fast-build:
- echo 'FROM python:3.4' > Dockerfile
- echo 'RUN apt-get update && apt-get install -y zip inkscape imagemagick' >> Dockerfile
- echo 'RUN pip install sphinx==1.3 sphinx-intl docutils==0.12' >> Dockerfile
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $DOCKER_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
#- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_REGISTRY
#- docker build --pull -t ${DOCKER_REGISTRY}/${IMAGE_NAME} .
......
Markdown is supported
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