mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Remove unnecessary explicit false push
This commit is contained in:
parent
ebe4c0bdf6
commit
c2ae3d926c
2 changed files with 1 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
docker buildx build \
|
||||
--cache-to=type=inline \
|
||||
--cache-from="$CI_REGISTRY_IMAGE:$1" \
|
||||
--push="${PUSH_CUSTOM_IMAGE}" \
|
||||
--push="${PUSH_CUSTOM_IMAGE:-false}" \
|
||||
--label "ci_pipeline_url=$CI_PIPELINE_URL" \
|
||||
--label "ci_job_url=$CI_JOB_URL" \
|
||||
-t "$CI_REGISTRY_IMAGE:$1" \
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
- ./scripts/lib/custom-docker-build
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
variables:
|
||||
PUSH_CUSTOM_IMAGE: "false"
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
variables:
|
||||
PUSH_CUSTOM_IMAGE: "true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue