fix registry domain
This commit is contained in:
parent
606683aa8b
commit
ce66e0a729
@ -39,7 +39,7 @@ let docker = function(){
|
|||||||
|
|
||||||
let dockerGitlab = function(){
|
let dockerGitlab = function(){
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
env.dockerRegistry = "registry.gitlab.io"
|
env.dockerRegistry = "registry.gitlab.com";
|
||||||
let ciBuildToken = process.env.CI_BUILD_TOKEN
|
let ciBuildToken = process.env.CI_BUILD_TOKEN
|
||||||
plugins.shelljs.exec("docker login -u gitlab-ci-token -p " + ciBuildToken + " " + env.dockerRegistry);
|
plugins.shelljs.exec("docker login -u gitlab-ci-token -p " + ciBuildToken + " " + env.dockerRegistry);
|
||||||
done.resolve();
|
done.resolve();
|
||||||
|
Loading…
Reference in New Issue
Block a user