How to query which downstream projects are using a Docker Image built in another repository

Hi there,

Is there an easy way to get a list of downstream projects which rely on a particular Docker image?

Example :

The “image_builder” project builds and pushes docker base images into ECR. As part of this base image building pipeline I would like to query which downstream projects rely on this image and then verify the build job in each of the downstream projects is successful when built with the new base image.

Currently I can provide a static list of projects I know use this base image but would like this to be queried dynamically. Any ideas?