Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-centos7-tensorflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Tru HUYNH
docker-centos7-tensorflow
Commits
386ecf3b
Commit
386ecf3b
authored
Mar 29, 2017
by
Tru HUYNH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .gitlab-ci.yml
parent
d9238da9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
.gitlab-ci.yml
.gitlab-ci.yml
+21
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
386ecf3b
# 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
variables
:
CI_REGISTRY_IMAGE
:
"
registry-gitlab.pasteur.fr/dsi-tools/docker-images"
before_script
:
-
docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
build
:
except
:
-
master
stage
:
build
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
-
docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment