add basic docker

This commit is contained in:
Cyryl Płotnicki 2019-01-20 16:10:14 +00:00
parent 88eebdb056
commit bbf708aa41

View file

@ -1,13 +1,26 @@
image:fedora: image:fedora:
stage: build stage: build
image: docker:stable
services:
- docker:dind
script: script:
- docker info - docker info
- docker login registry.gitlab.com - docker login registry.gitlab.com
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
image:ubuntu: image:ubuntu:
stage: build stage: build
image: docker:stable
services:
- docker:dind
script: script:
- docker info
- docker login registry.gitlab.com - docker login registry.gitlab.com
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
fedora: fedora:
before_script: before_script: