From 39d86a2050fcfb569d29f5846d2378aefa46bfea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 13 Feb 2017 18:29:38 +0100 Subject: [PATCH] Configured runner to mount socket --- .gitlab-ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73a9902..e7391a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,12 @@ image: docker:latest -services: - - docker:dind - # When using dind, it's wise to use the overlayfs driver for # improved performance. variables: DOCKER_DRIVER: overlay + IMAGE_NAME: $REGISTRY_IMAGE:$CI_BUILD_TAG + DOCKERFILE: Dockerfile stages: - test @@ -43,9 +42,6 @@ test-2.7: .image: &image_definition stage: release - variables: - IMAGE_NAME: $REGISTRY_IMAGE:$CI_BUILD_TAG - DOCKERFILE: Dockerfile before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY script: @@ -70,4 +66,4 @@ image-2.7: <<: *image_definition variables: IMAGE_NAME: "$REGISTRY_IMAGE:$CI_BUILD_TAG-python2.7" - DOCKERFILE: Dockerfile-2.7 + DOCKERFILE: Dockerfile-2.7 \ No newline at end of file