From 21703e46d65bf633f2ded95ace7905e2df3b89d2 Mon Sep 17 00:00:00 2001
From: Niklas <bmw.fans@web.de>
Date: Sat, 25 Mar 2017 22:10:55 +0000
Subject: [PATCH] Use same variable for registry password as above

---
 doc/ci/docker/using_docker_build.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ci/docker/using_docker_build.md b/doc/ci/docker/using_docker_build.md
index b3c9fe275c4..edb315d5b84 100644
--- a/doc/ci/docker/using_docker_build.md
+++ b/doc/ci/docker/using_docker_build.md
@@ -318,7 +318,7 @@ variables:
   IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
 
 before_script:
-  - docker login -u gitlab-ci-token -p $CI_COMMIT_TOKEN $CI_REGISTRY
+  - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
 
 build:
   stage: build
-- 
GitLab