Commit 4a61e6fe authored by Evgeny Lavrik's avatar Evgeny Lavrik
Browse files

Update .gitlab-ci.yml

parent d737a3ef
# Kaniko is the recommended method for running Docker-builds as of May 2019.
# See https://docs.gitlab.com/ee/ci/docker/using_kaniko.html for GitLab's documentation.
stages:
- fairroot
- cbmroot
- cbmroot-hub
fairroot:
stage: build
image:
......@@ -14,9 +20,9 @@ fairroot:
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
- /kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/FairRoot.Dockerfile --destination $CI_REGISTRY/$CI_REGISTRY_USER/$CI_JOB_NAME:latest
retry: 2
# only:
# changes:
# - FairRoot.Dockerfile
only:
changes:
- FairRoot.Dockerfile
cbmroot:
stage: build
......@@ -35,9 +41,9 @@ cbmroot:
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
- /kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/CbmRoot.Dockerfile --destination $CI_REGISTRY/$CI_REGISTRY_USER/$CI_JOB_NAME:latest
retry: 2
# only:
# changes:
# - CbmRoot.Dockerfile
only:
changes:
- CbmRoot.Dockerfile
cbmroot-hub:
stage: build
......@@ -56,6 +62,6 @@ cbmroot-hub:
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
- /kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Jupyterhub.Dockerfile --destination $CI_REGISTRY/$CI_REGISTRY_USER/$CI_JOB_NAME:latest
retry: 2
# only:
# changes:
# - Jupyterhub.Dockerfile
\ No newline at end of file
only:
changes:
- Jupyterhub.Dockerfile
\ No newline at end of file
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