Gitlab shared CI can't pull the image from the same group

I’m using the cloud gitlab, not self-hosted gitlab. Free trail

I created a group and there are 2 repos under it.
I made a docker image in repo A and push it to the repo A’s docker registry
I tried to use the shared CI runner in repo B with the image from repo A registry. CI job gives me error of

ERROR: Job failed: failed to pull image "registry.gitlab.com/xxx" with specified policies [always]: Error response from daemon: pull access denied for registry.gitlab.com/xxx, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (manager.go:237:0s)

repo A registry is accessible for whoever has access to it.
What do I need to do to make it work?