code: def hostcmd_push(base_path, project_name, engine_name, vars_files=None, config_file=None, **kwargs):
      
      assert_initialized(base_path, config_file)
      config = get_config(base_path, vars_files=vars_files, engine_name=engine_name, project_name=project_name,
                          config_file=config_file)
  
      engine_obj = load_engine(['LOGIN', 'PUSH'],
                               engine_name, config.project_name,
                               config['services'], **kwargs)
      logger.debug('PROJECT NAME', project_name=config.project_name)
      push_images(base_path,
                  config.image_namespace,
                  engine_obj,
                  config,
                  save_conductor=config.save_conductor,
                  **kwargs)
docs: Push images to a registry. Requires authenticating with the registry prior to starting
      the push. If your engine's config file does not already contain an authorization for the
      registry, pass username and/or password. If you exclude password, you will be prompted.