2021-02-18 06:04:30 +01:00
|
|
|
.cic_cache_variables:
|
|
|
|
variables:
|
|
|
|
APP_NAME: cic-cache
|
|
|
|
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
|
2021-07-06 22:27:32 +02:00
|
|
|
CONTEXT: apps
|
2021-02-18 06:04:30 +01:00
|
|
|
|
|
|
|
build-mr-cic-cache:
|
|
|
|
extends:
|
|
|
|
- .py_build_merge_request
|
|
|
|
- .cic_cache_variables
|
2021-07-06 22:05:18 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
changes:
|
|
|
|
- apps/cic-cache/**/*
|
|
|
|
when: always
|
2021-02-18 06:04:30 +01:00
|
|
|
|
|
|
|
build-push-cic-cache:
|
|
|
|
extends:
|
|
|
|
- .py_build_push
|
|
|
|
- .cic_cache_variables
|
2021-07-06 22:05:18 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == "master"
|
|
|
|
changes:
|
|
|
|
- apps/cic-cache/**/*
|
|
|
|
when: always
|
2021-02-18 06:04:30 +01:00
|
|
|
|
|
|
|
|