Which registries does the gitlab-ci-token user has access to?

I’m trying to use an image from project A inside project B, i.e. while building git.example.com/project-b/image I need access to git.example.com/project-a/image. However, I can’t just docker login -u gitlab-ci-token ... since the token inside project B doesn’t have access to project A.

Is there any way to give a particular CI token a permission for an other project?