1
Fork 0

Use dind to build container

This commit is contained in:
Jake Howard 2022-07-28 17:46:37 +01:00
parent c07841b7d2
commit 9d4c6739cb
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -66,6 +66,8 @@ deploy:
container: container:
image: docker:stable image: docker:stable
services:
- docker:dind
stage: deploy stage: deploy
dependencies: dependencies:
- build - build
@ -73,6 +75,7 @@ container:
- master - master
variables: variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:latest IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
DOCKER_BUILDKIT: 1
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script: script: