def METHOD_NAME(name: str, dagster_version: str, set_latest: bool):
    """Used for pushing k8s images to Docker Hub. Must be logged in to Docker Hub for this to
    succeed.
    """
    tags = [
        f"dagster/{name}:{dagster_version}",
    ]
    if set_latest:
        tags.append(f"dagster/{name}:latest")
    push_to_registry(name, tags)