diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b02ef11..2144551 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,21 +25,24 @@ pytest: variables: - + DOCKER_HOST: tcp://docker:2375 # fill those if you have a proxy in your environment DOCKER_DRIVER: overlay2 # See https://github.com/docker-library/docker/pull/166 - DOCKER_TLS_CERTDIR: "" + DOCKER_TLS_CERTDIR: "/certs" make_image: stage: build + needs: + - pytest image: docker:26.1.3 services: - docker:26.1.3-dind before_script: + - unset DOCKER_HOST - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: