Commit 0a961497 authored by Nicolas Vuillermet's avatar Nicolas Vuillermet

Mettre à jour .gitlab-ci.yml

parent 87306584
......@@ -2,7 +2,7 @@
image: docker:stable
variables:
IMAGE: $DOCKER_REGISTRY/public/ci-dind
IMAGE: $CI_REGISTRY_IMAGE
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_VERIFY: ''
......@@ -17,7 +17,7 @@ services:
Build docker image:
stage: build
before_script: &before_script
- docker login $DOCKER_REGISTRY -u $DOCKER_REGISTRY_USER -p $DOCKER_REGISTRY_PASSWORD
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- docker build -t $IMAGE:$CI_COMMIT_SHA .
- docker push $IMAGE:$CI_COMMIT_SHA
......
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