diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9164d7710023a94416cdd64b071efde4d4caae80..9a2d5a7ba9a270d424702a7fb5cd0462b5128a18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ cache:
 # before_script is used to define the command that should be run before all jobs, including deploy jobs, but after the restoration of artifacts.
 # This can be an array or a multi-line string.
 before_script:
-  - docker login -u $DOCKER_REGISTRY_USER_LOGIN -p $CI_REGISTRY_PASS_LOGIN $CI_REGISTRY
+  - docker login -u $DOCKER_REGISTRY_USER_LOGIN -p $CI_REGISTRY_PASS_LOGIN $CI_NX_REGISTRY
   - pip install twine
 
 # The YAML file defines a set of jobs with constraints stating when they should be run.