diff --git a/breeze b/breeze index 74c0974cd7c62..cc6dacc0c04d7 100755 --- a/breeze +++ b/breeze @@ -1804,10 +1804,18 @@ function run_build_command { rebuild_ci_image_if_needed fi ;; - build_docs|perform_static_checks|perform_generate_requirements|perform_push_image) + build_docs|perform_static_checks|perform_generate_requirements) prepare_ci_build rebuild_ci_image_if_needed ;; + perform_push_image) + if [[ ${PRODUCTION_IMAGE} == "true" ]]; then + prepare_prod_build + else + prepare_ci_build + rebuild_ci_image_if_needed + fi + ;; build_image) if [[ ${PRODUCTION_IMAGE} == "true" ]]; then prepare_prod_build