Skip to content
Snippets Groups Projects
Commit cd46b8cc authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

Add .gitlab-ci.yml

parent 5a1d5bb2
No related branches found
No related tags found
No related merge requests found
# default template
# The docker image will be named after the branch name
# Feel free to modify this file in your own branch
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
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-centos6-tensorflow:master
script:
- date
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