code: def main(global_config: str = "oss_config.yaml") -> None:
      """
      Builds the Ray champagne image.
      """
      init_global_config(
          bazel_runfile("release/ray_release/configs", global_config),
      )
      branch = os.environ.get(
          "BRANCH_TO_TEST", os.environ["BUILDKITE_BRANCH"]
      )
      commit = os.environ.get(
          "COMMIT_TO_TEST", os.environ["BUILDKITE_COMMIT"]
      )
      assert branch.startswith(
          "releases/"
      ), f"Champagne building only supported on release branch, found {branch}"
      ray_version = f"{branch[len('releases/') :]}.{commit[:6]}"
      for (
          python_version,
          image_type,
          cluster_env_name,
      ) in CHAMPAGNE_IMAGE_TYPES:
          logger.info(
              f"Building champagne image for {python_version} {image_type}"
          )
          anyscale_image = build_champagne_image(
              ray_version,
              python_version,
              image_type,
          )
          logger.info(
              f"Updating cluster environment {cluster_env_name}"
          )
          _build_champaign_cluster_environment(
              anyscale_image, cluster_env_name
          )
  
file_path: ray/release/ray_release/scripts/ray_champagne.py
imports: import click
  import os
  from pathlib import Path
  import boto3
  from anyscale.sdk.anyscale_client.models.create_cluster_environment import CreateClusterEnvironment
  from anyscale.sdk.anyscale_client.sdk import AnyscaleSDK
  from ray_release.bazel import bazel_runfile
  from ray_release.byod.build import build_champagne_image
  from ray_release.logger import logger
  from ray_release.configs.global_config import init_global_config
label_desc: Use image node_id 1 for calling a global function with example usage: main(global_config) without return types