[SOLVED] $CI_REGISTRY not in line with $CI_REGISTRY_IMAGE

I’m seeing a docker login against $CI_REGISTRY that is registry.gitlab.example.com:443 while my $CI_REGISTRY_IMAGE I just tagged is to registry.gitlab.example.com:8443

I took me 2 hours to notice the difference in ports : :443 is the former port I used, I had to switch to :8443 due to some issues with traefik and especially the forwardauth plugin I use.

Now I now that on port 8443 it will work as intended but given that in my worker the login never happens against it since I’m having the wrong port on the CI_REGISTRY…

If anyone could help, that would be great !

I am running gitlab in docker with OMNIBUS env var containing registry_external_url ‘https://registry.gitlab.example.com:8443’, I recreated my runners who are also running inside docker and use docker executor with dind.

I’m at a loss as to why and how this CI_REGISTRY never gets updated…

I even just created a new runner from scratch and registered it and still it gets :443 instead of :8443…

Grr, solved this, I simply had a variable defined at admin level for CI_REGISTRY since I needed this in an earlyer version of my config where the registry url was not set properly and therefore the variable not auto populated…
I removed the variable, it got populated correctly by gitlab, and all is fine…