28 lines
600 B
YAML
28 lines
600 B
YAML
.cic_notify_variables:
|
|
variables:
|
|
APP_NAME: cic-notify
|
|
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
|
|
CONTEXT: apps/
|
|
|
|
build-mr-cic-notify:
|
|
extends:
|
|
- .py_build_merge_request
|
|
- .cic_notify_variables
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
changes:
|
|
- apps/cic-notify/**/*
|
|
when: always
|
|
|
|
build-push-cic-notify:
|
|
extends:
|
|
- .py_build_push
|
|
- .cic_notify_variables
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "master"
|
|
changes:
|
|
- apps/cic-notify/**/*
|
|
when: always
|
|
|
|
|