diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c90eca9..a691e77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,13 @@ # This file is a template, and might need editing before it works on your project. docker-build-master: # Official docker image. - image: docker:latest + image: docker:18.09.7-dind services: - - docker:latest + - docker:18.09.7-dind variables: - #DOCKER_HOST: tcp://localhost:2375 - DOCKER_DRIVER: overlay2 + DOCKER_HOST: tcp://localhost:2375 + DOCKER_DRIVER: overl DOCKER_TLS_CERTDIR: "" # variables: @@ -29,10 +29,14 @@ docker-build-master: docker-build: # Official docker image. - image: docker:latest + image: docker:18.09.7-dind stage: build services: - - docker:dind + - docker:18.09.7-dind + variables: + DOCKER_DRIVER: overlay + DOCKER_HOST: tcp://localhost:2375/ + before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: