Commit 43ab8527 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

add condition to build docker image

parent 8a7a8f7f
Pipeline #94843 passed with stage
in 3 minutes and 12 seconds
......@@ -23,6 +23,8 @@ build_xcache:
IMAGE_NAME: xcache:${CI_COMMIT_REF_SLUG}
rules:
- if: '$CI_COMMIT_BRANCH != "master"'
changes:
- containers/images/xcache/Dockerfile
build_xcache_master:
extends:
......@@ -34,6 +36,8 @@ build_xcache_master:
IMAGE_NAME: xcache
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- containers/images/xcache/Dockerfile
build_voms_proxy_init:
extends:
......@@ -45,6 +49,9 @@ build_voms_proxy_init:
IMAGE_NAME: voms-proxy-init:${CI_COMMIT_REF_SLUG}
rules:
- if: '$CI_COMMIT_BRANCH != "master"'
changes:
- containers/images/voms-proxy-init/Dockerfile
- containers/images/voms-proxy-init/loop_voms_proxy_init.sh
build_voms_proxy_init_master:
extends:
......@@ -56,3 +63,6 @@ build_voms_proxy_init_master:
IMAGE_NAME: voms-proxy-init
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- containers/images/voms-proxy-init/Dockerfile
- containers/images/voms-proxy-init/loop_voms_proxy_init.sh
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