mirror of
https://github.com/mfish-qf/mfish-nocode-view.git
synced 2026-11-03 22:59:21 +08:00
18 lines
332 B
YAML
18 lines
332 B
YAML
stages:
|
|
- build
|
|
|
|
|
|
.standard-rules:
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
|
|
build-job:
|
|
stage: build
|
|
script:
|
|
- docker build -t erp-admin-view .
|
|
- docker compose up -d
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
- when: manual
|