mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-08 17:42:56 +01:00
10 lines
260 B
YAML
10 lines
260 B
YAML
.build_and_push:
|
|
stage: custom
|
|
needs: []
|
|
script:
|
|
- ./scripts/lib/custom-docker-build
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
variables:
|
|
PUSH_CUSTOM_IMAGE: "true"
|