From 687a76455baa55b86883927a059ad3006cab89c8 Mon Sep 17 00:00:00 2001 From: saibotk Date: Wed, 8 Jan 2020 11:11:30 +0100 Subject: [PATCH] Fix docker build --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3ee254..255cd75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ -image: ubuntu:bionic +# Official docker image. +image: docker:19.03.1 variables: GIT_SUBMODULE_STRATEGY: recursive @@ -39,9 +40,10 @@ build: package-deploy: stage: package services: - - docker:dind + - docker:19.03.1-dind variables: DOCKER_HOST: "tcp://docker:2375" + DOCKER_TLS_CERTDIR: "" LANG: C.UTF-8 before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY @@ -59,6 +61,7 @@ package: - docker:dind variables: DOCKER_HOST: "tcp://docker:2375" + DOCKER_TLS_CERTDIR: "" LANG: C.UTF-8 before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY