use dicker-in-docker on gitlab

This commit is contained in:
Cyryl Płotnicki 2019-01-20 12:34:54 +00:00
parent becbb3b216
commit 4404787611

View file

@ -1,12 +1,21 @@
fedora:
variables:
DETECTED_OS: fedora:29
DOCKER_IMAGE: cyplo/fedora29_base
script: ./test.sh
image: docker:stable
services:
- docker:dind
variables:
DETECTED_OS: fedora:29
DOCKER_IMAGE: cyplo/fedora29_base
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
ubuntu:
script: ./test.sh
image: docker:stable
services:
- docker:dind
variables:
DETECTED_OS: ubuntu:cosmic
DOCKER_IMAGE: cyplo/cosmic_base
DETECTED_OS: ubuntu:cosmic
DOCKER_IMAGE: cyplo/cosmic_base
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2