From e0bdd9f918555cef24154172e93a579e48e31d05 Mon Sep 17 00:00:00 2001 From: Thomas MENARD <thomas.menard@pasteur.fr> Date: Wed, 29 Mar 2017 14:43:36 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17ea380..cf4f8a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,19 @@ services: before_script: - docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr +stages: + - build + - extract + build: stage: build script: - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" . - docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" + +save_actifacts: + stage: extract + image: registry-gitlab.pasteur.fr/tru/docker-centos7-tensorflow:master + artifacts: + paths: + - /build/tensorflow_pkg/ \ No newline at end of file -- GitLab