Commit b6c1e20f authored by Tru  HUYNH's avatar Tru HUYNH

Add new file

parent 62bab43b
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment