From 77c834df35501e25d9fbe39388503887073cd3a3 Mon Sep 17 00:00:00 2001 From: solomon laing Date: Thu, 3 Jun 2021 13:21:12 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ba033f..09e1d81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,15 +10,11 @@ # This file is a template, and might need editing before it works on your project. docker-build: # Official docker image. - image: python:3.6.5 - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_TLS_CERTDIR: "" + image: docker:20.10.5 stage: build tags: - docker before_script: - - *install_docker - docker info - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: @@ -29,15 +25,11 @@ docker-build: docker-build-master: # Official docker image. - image: python:3.6.5 - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_TLS_CERTDIR: "" + image: docker:20.10.5 stage: build tags: - docker before_script: - - *install_docker - docker info - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: