Format using black

pull/36695/head
Arjan Bal 10 months ago
parent 337ec2d9fc
commit cce2641cf0
  1. 4
      tools/interop_matrix/create_matrix_images.py

@ -411,7 +411,9 @@ for lang in languages:
assert image.startswith(args.gcr_path) and image.find(":") != -1
# Add a tag to exclude the image from the GCP Vulnerability Scanner.
(image_name, tag_name) = image.rsplit(":", 1)
alternate_image = f"{image_name}:infrastructure-public-image-{tag_name}"
alternate_image = (
f"{image_name}:infrastructure-public-image-{tag_name}"
)
subprocess.call(["docker", "image", "tag", image, alternate_image])
subprocess.call(["gcloud", "docker", "--", "push", image])
subprocess.call(["gcloud", "docker", "--", "push", alternate_image])

Loading…
Cancel
Save