External nexus docker registry via LDAP

Hello Everyone,

I need help with setting up an integration of GitLab (12.4.3) with external docker registry.

This docker registry runs in Sonatype Nexus (3.18.1-01). I am quite dumbfounded as to how to achieve this integration. The docs mention a token based authentication. Unfortunately via Nexus I am not aware how to check what type of authentication is setup (for the docker registry) and I don’t see an option for the token based one.

Both Nexus and GitLab successfully use LDAP so I am guessing this could be somehow exposed as a common realm.

Has anyone anyhow integrated nexus docker registry into GitLab? Is it even possible? My google-fu has failed me terribly.