Use dind and buildkit to build container
This commit is contained in:
parent
e2e0144b6a
commit
13f356c900
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ pip:
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
variables:
|
||||||
|
DOCKER_BUILDKIT: 1
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- docker build -t website .
|
- docker build -t website .
|
||||||
|
|
Loading…
Reference in a new issue