Unverified Commit 102f3042 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Add more debug info to `acquire-build-image` (#1305)

parent 6e63635e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -71,6 +71,10 @@ class Shell:
    # Pulls the requested `image_name` with `image_tag`. Returns `DockerPullResult`.
    def docker_pull(self, image_name, image_tag):
        (status, output) = get_cmd_output(f"docker pull \"{image_name}:{image_tag}\"", check=False)
        print("Docker pull output:")
        print("-------------------")
        print(output)
        print("-------------------")
        if status == 0:
            return DockerPullResult.SUCCESS
        elif "toomanyrequests: Rate exceeded" in output: