diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17ea380f1ff00abb8c9bbadf1e14332e9cd2851a..cf4f8a2c02c48eafbeb1994985e1cd896aafaf6b 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