[PATCH compass-ci] use local tool to pull images

$CCI_SRC/sbin/docker-pull docker-pull will download images from local repository, if failed, will request docker hub Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- providers/docker/docker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/docker/docker.rb b/providers/docker/docker.rb index c75fc2c..b454f68 100755 --- a/providers/docker/docker.rb +++ b/providers/docker/docker.rb @@ -69,7 +69,7 @@ end def run(hostname, load_path, hash) docker_image = hash['docker_image'] - system "docker pull #{docker_image}" + system "docker-pull #{docker_image}" system( { 'hostname' => hostname, 'docker_image' => docker_image, 'load_path' => load_path }, ENV['CCI_SRC'] + '/providers/docker/run.sh' -- 2.23.0
participants (1)
-
Xiao Shenwei