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

CI fast build try again docker push succeed ?

parent 3dc414c2
Pipeline #2204 failed with stages
in 5 minutes and 17 seconds
......@@ -4,12 +4,12 @@ stages:
- publish
variables:
# DOCKER_REGISTRY: registery.duniter.org
IMAGE_NAME: geconomicus_ci
DOCKER_REGISTRY: registry.duniter.org
IMAGE_NAME: docker/geconomicus_ci
fast-build:
stage: build
image: $CI_REGISTRY/$IMAGE_NAME
image: $DOCKER_REGISTRY/$IMAGE_NAME
script:
#- ./update_translation.sh
- ./build.sh
......@@ -67,10 +67,10 @@ docker-for-fast-build:
- 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 $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $DOCKER_REGISTRY
#- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
- docker build --pull -t ${CI_REGISTRY}/${IMAGE_NAME} .
- docker push ${CI_REGISTRY}/${IMAGE_NAME}
- docker build --pull -t ${DOCKER_REGISTRY}/${IMAGE_NAME} .
- docker push ${DOCKER_REGISTRY}/${IMAGE_NAME}
pages:
stage: publish
......
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