[ci/py310] Fix docker image build/tag (#24922)

We're currently not building the 3.9/3.10 ray-ml docker images, but we're still trying to tag/push them.
This commit is contained in:
Kai Fricke 2022-05-18 18:36:37 +01:00 committed by GitHub
parent 628ee4b5f0
commit 41b98b1b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -450,10 +450,13 @@ def push_and_tag_images(
# TODO(https://github.com/ray-project/ray/issues/16599): # TODO(https://github.com/ray-project/ray/issues/16599):
# remove below after supporting ray-ml images with Python 3.9 # remove below after supporting ray-ml images with Python 3.9
if image_name in ["ray-ml"] and PY_MATRIX[py_name].startswith("3.9"): if image_name in ["ray-ml"] and (
PY_MATRIX[py_name].startswith("3.9")
or PY_MATRIX[py_name].startswith("3.10")
):
print( print(
f"{image_name} image is currently " f"{image_name} image is currently "
f"unsupported with Python 3.9" f"unsupported with Python 3.9/3.10"
) )
continue continue