Skip to content
Snippets Groups Projects
Commit e0bdd9f9 authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update .gitlab-ci.yml

parent 8ad37151
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,19 @@ services: ...@@ -9,8 +9,19 @@ services:
before_script: before_script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr - docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
stages:
- build
- extract
build: build:
stage: build stage: build
script: script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" . - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
- docker push "$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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment