Skip to content
Snippets Groups Projects
Verified Commit 0b2dd494 authored by David Hoese's avatar David Hoese
Browse files

Switch pipeline source check to pipeline

parent 982462c8
No related branches found
No related tags found
No related merge requests found
......@@ -26,12 +26,11 @@ build ci:
extends: .docker_based_job
script:
- cd cichart
- echo $CI_PIPELINE_SOURCE
- docker build --tag $CICHART_IMAGE .
- docker push $CICHART_IMAGE
rules:
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- changes:
- cichart/Dockerfile
......@@ -47,7 +46,7 @@ build sidecar rabbit init:
IMAGE_DIR: sidecars/cspp-geo-rabbit-init
rules:
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- changes:
- sidecars/cspp-geo-rabbit-init/Dockerfile
......
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