From 9d4c6739cb79f8b95599c2c9c8b0de28592ae9a1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 28 Jul 2022 17:46:37 +0100 Subject: [PATCH] Use dind to build container --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a32c44e..0ce85c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,8 @@ deploy: container: image: docker:stable + services: + - docker:dind stage: deploy dependencies: - build @@ -73,6 +75,7 @@ container: - master variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:latest + DOCKER_BUILDKIT: 1 before_script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY script: