fix registry domain

This commit is contained in:
Philipp Kunz 2016-06-03 19:44:53 +02:00
parent 606683aa8b
commit ce66e0a729

View File

@ -39,7 +39,7 @@ let docker = function(){
let dockerGitlab = function(){
let done = plugins.q.defer();
env.dockerRegistry = "registry.gitlab.io"
env.dockerRegistry = "registry.gitlab.com";
let ciBuildToken = process.env.CI_BUILD_TOKEN
plugins.shelljs.exec("docker login -u gitlab-ci-token -p " + ciBuildToken + " " + env.dockerRegistry);
done.resolve();