Commit e48fd5a1 authored by Millicent Billette's avatar Millicent Billette

CI fast build try again docker push succeed ?

parent 2e6b16c7
Pipeline #2205 failed with stages
in 5 minutes and 44 seconds
......@@ -5,7 +5,9 @@ stages:
variables:
DOCKER_REGISTRY: registry.duniter.org
IMAGE_NAME: docker/geconomicus_ci
IMAGE_NAME: $CI_REGISTRY_IMAGE
# $CI_REGISTRY_IMAGE:$CI_BUILD_TAG
# IMAGE_NAME: docker/geconomicus_ci
fast-build:
stage: build
......@@ -66,11 +68,13 @@ 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 $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_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 ${DOCKER_REGISTRY}/${IMAGE_NAME} .
- docker push ${DOCKER_REGISTRY}/${IMAGE_NAME}
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
#- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_REGISTRY
#- 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