Commit 39d86a20 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Configured runner to mount socket

parent 5371c83a
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment