Recently, my builds have started failing because Dagger is unable to pull images from private DockerHub repositories. This started happening with version 0.18.4, after working fine for a long time. The same errors occur after upgrading to 0.18.7.
With all my private images, I'm seeing failures like this:
resolving docker.io/myrepo/my_image:my_tag 0.1s
│ │ ! failed to do request: Head "https://registry-1.docker.io/v2/myrepo/my_image/manifests/my_tag": context canceled
│ │ │ ✔ HTTP GET 0.0s
│ │ │ ✘ remotes.docker.resolver.HTTPRequest 0.0s
│ │ │ ! context canceled
│ │ │ │ ✘ HTTP HEAD 0.0s
│ │ │ │ ! context canceled
It was working fine using the docker login of the host executing the dagger command previously. I have tried adding explicit authorization using with_registry_auth and get the same errors.
Any help understanding this problem would be appreciated.