ECR docker registry authentication issue with CloudQuery

Hi,

Is ECR a supported Docker registry?

registry: "docker"
path: "xxxx.dkr.ecr.eu-west-1.amazonaws.com/cq_sophos"

When I do that, I get the following error:

Error: failed to pull Docker image: Error response from daemon: Head "https://xxx.dkr.ecr.eu-west-1.amazonaws.com/v2/cq_sophos/manifests/latest": no basic auth credentials

I can, however, do a docker pull xxx.dkr.ecr.eu-west-1.amazonaws.com/cq_sophos, and that works fine. I can get around this by pulling the image before running cq if I have to. I have also set the default region to see if that was the cause, but no joy.

Hi, currently only public Docker images are supported. We’re also in the process of adding support for pulling Docker images from hub.cloudquery.io.

Quickly checking, it looks like we need to add a way to support basic auth credentials for this to work (barring a full-blown ECR integration).

Could you open an issue for a feature request for this at https://github.com/cloudquery/cloudquery/issues/new?assignees=&labels=kind%2Ffeat&projects=&template=feature_request.yml&title=feat%3A+%3Ctitle%3E which would help our team prioritize?

Thanks for the reply, no prob will raise a ticket.
https://github.com/cloudquery/cloudquery/issues/16120