start building images on gitlab

This commit is contained in:
Cyryl Płotnicki 2019-01-20 16:03:40 +00:00
parent c4558c8707
commit befea1b0a1

View file

@ -1,3 +1,13 @@
image:fedora:
stage: build
script:
- docker login registry.gitlab.com
image:ubuntu:
stage: build
script:
- docker login registry.gitlab.com
fedora: fedora:
before_script: before_script:
- apk add bash - apk add bash
@ -10,6 +20,8 @@ fedora:
DOCKER_IMAGE: cyplo/fedora29_base DOCKER_IMAGE: cyplo/fedora29_base
DOCKER_HOST: tcp://docker:2375/ DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
dependencies:
- image:fedora
ubuntu: ubuntu:
before_script: before_script:
@ -23,3 +35,5 @@ ubuntu:
DOCKER_IMAGE: cyplo/cosmic_base DOCKER_IMAGE: cyplo/cosmic_base
DOCKER_HOST: tcp://docker:2375/ DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
dependencies:
- image:ubuntu