Private repository public registry

Hi,

I have serveral private repositories in my self hosted instance. I have docker images build from that repository to the registry from that repository. Is there a way i can only make that registry from the repository public? so the code is private but everyone can pull the images.

Kind regards,

Stijn Smits