Commit 799665f9 authored by Millicent Billette's avatar Millicent Billette

CI fast build try again

parent 9eb0b353
Pipeline #2202 failed
......@@ -3,13 +3,16 @@ stages:
- alt_build
- publish
tags:
- doppler-docker
variables:
DOCKER_REGISTRY: registery.duniter.org
# DOCKER_REGISTRY: registery.duniter.org
IMAGE_NAME: geconomicus_ci
fast-build:
stage: build
image: $DOCKER_REGISTRY/$IMAGE_NAME
image: $CI_REGISTRY/$IMAGE_NAME
script:
#- ./update_translation.sh
- ./build.sh
......@@ -55,8 +58,6 @@ docker-for-fast-build:
stage: alt_build
when: on_failure
allow_failure: true
tags:
- doppler-docker
variables:
GIT_STRATEGY: none
image: docker:latest
......@@ -69,8 +70,8 @@ docker-for-fast-build:
#- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_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_NAME} .
- docker push ${CI_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