Commit d9391cc5 authored by Thomas  MENARD's avatar Thomas MENARD

Update .gitlab-ci.yml

parent 65d50a43
......@@ -5,10 +5,7 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
stages:
- build
- extract
......@@ -16,6 +13,7 @@ stages:
build:
stage: build
script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_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