Pulling Docker Image Behind Proxy From Private GitLab Repository

Hi, we have an airgapped environment setup on prem and we are trying to pull docker images using proxy from a private gitlab registry. But, whenever we try to pull images, we are getting this error:

Error response from daemon: manifest for <docker_image> not found

But, when we try to pull from our local machines (not airgapped) we can pull the images just fine and no issues.

We are certain that we have correctly setup our proxy since we can see in the proxy logs that it can successfully connect to registry.gitlab.com.

But somehow it still fails to pull images. Additionally we are able to pull from other registries like aws ecr etc