Commit 7d9b4c5c authored by Adrien Dorsaz's avatar Adrien Dorsaz

gitlab-ci: configure docker build env to use the new build engine and to user overlay2

parent dc657495
......@@ -7,6 +7,9 @@ stages:
.build:
stage: build
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
DOCKER_BUILDKIT: 1
only:
- merge_requests
- master
......@@ -41,20 +44,26 @@ stages:
jessie-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:jessie-slim"
-f "docker/jessie/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:jessie-slim"
-f "docker/jessie/Dockerfile" .
stretch-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:stretch-slim"
-f "docker/stretch/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:stretch-slim"
-f "docker/stretch/Dockerfile" .
buster-slim:
extends: .build
script:
- docker build -t "acme-dns-tiny:buster-slim"
-f "docker/buster/Dockerfile" .
- docker build
--progress plain
-t "acme-dns-tiny:buster-slim"
-f "docker/buster/Dockerfile" .
compile:
extends: .check
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment