diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 41d7fd2e98c60aedd99997edf1471c07bc7d1e69..b1cf8f360bd6f8a1ed236e94df7662223916dac9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,9 +13,7 @@ variables:
 
 
 before_script:
-  - echo $PWD
-  - ifconfig
-#  - docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
+  - /usr/bin/docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
 
 cache:
   paths:
@@ -25,7 +23,7 @@ cache:
 build:
   stage: build
   before_script:
-    #- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
+    - /usr/bin/docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
     # Make Git submodules work
     - which git || (apk --no-cache add git)
     - git submodule sync --recursive