cic-internal-integration/apps/cic-cache/.gitlab-ci.yml

28 lines
591 B
YAML
Raw Normal View History

2021-02-18 06:04:30 +01:00
.cic_cache_variables:
variables:
APP_NAME: cic-cache
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
CONTEXT: apps
2021-02-18 06:04:30 +01:00
build-mr-cic-cache:
extends:
- .py_build_merge_request
- .cic_cache_variables
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
rules:
- if: $CI_COMMIT_BRANCH == "master"
changes:
- apps/cic-cache/**/*
when: always
2021-02-18 06:04:30 +01:00