def METHOD_NAME(test_image_suffix):
  """Build and push test versions of base images using GCB."""
  steps = []
  test_tags = []
  for base_image in base_images.BASE_IMAGES:
    main_tag, test_tag = get_image_tags(base_image, test_image_suffix)
    test_tags.append(test_tag)
    directory = os.path.join('infra', 'base-images', base_image)
    step = build_lib.get_docker_build_step([main_tag, test_tag],
                                           directory,
                                           use_buildkit_cache=True,
                                           src_root='.')
    steps.append(step)
  overrides = {'images': test_tags}
  build_body = build_lib.get_build_body(steps, base_images.TIMEOUT, overrides,
                                        GCB_BUILD_TAGS + [test_image_suffix])
  _run_cloudbuild(build_body)