mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
79999edf2d
commit
d92d4ca09e
2 changed files with 5 additions and 6 deletions
|
|
@ -89,5 +89,4 @@ docker-push:
|
|||
- job: version
|
||||
artifacts: true
|
||||
rules:
|
||||
- !reference [.default_mr_rules, rules]
|
||||
#- !reference [.docker_publish_rules, rules]
|
||||
- !reference [.docker_publish_rules, rules]
|
||||
|
|
|
|||
|
|
@ -30,17 +30,17 @@
|
|||
- if: $CI_MERGE_REQUEST_IID
|
||||
exists:
|
||||
- "Dockerfile"
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PIPELINE_SOURCE == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
exists:
|
||||
- "Dockerfile"
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
exists:
|
||||
- "Dockerfile"
|
||||
|
||||
.docker_publish_rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PIPELINE_SOURCE == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
exists:
|
||||
- "Dockerfile"
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
exists:
|
||||
- "Dockerfile"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue