use-docker host dns for CI

This commit is contained in:
Antoine Legrand 2017-06-26 15:21:59 +02:00
parent dc2e7caabe
commit e514362394
3 changed files with 15 additions and 17 deletions

View file

@ -3,17 +3,17 @@ function(vars={})
dockerBuild: {
// base job to manage containers (build / push)
variables: {
DOCKER_DRIVER: "aufs",
DOCKER_DRIVER: "overlay",
DOCKER_HOST: "tcp://docker-host.gitlab-runner.svc.cluster.local:2375"
},
image: "docker:git",
before_script: [
"docker login -u $DOCKER_USER -p $DOCKER_PASS quay.io",
],
services: [
"docker:dind",
],
tags: [
"docker",
"kubernetes",
],
},