Use dind to build container
This commit is contained in:
parent
c07841b7d2
commit
9d4c6739cb
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue