I am trying to log in into gitlab container registry in one of my CI jobs, but I get an error message telling me that I cannot log in into https://registry-1.docker.io/v2/.
I am a bit confused, as I am not doing anything different from what I have been doing in the past. What am I doing wrong?
I double-checked that the variables (especially $CI_REGISTRY
) is set correctly, that’s the output of my debug lines:
$ echo $IMAGE_NAME
registry.gitlab.com/paulwellnerbou/...
$ echo $CI_REGISTRY
registry.gitlab.com
$ docker version
Client:
Version: 24.0.6
API version: 1.43
...
I am using gitlab.com, docker:latest
and docker:dind
in my Job.