start building images on gitlab

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

View file

@ -1,3 +1,11 @@
fedora-image:
script:
- docker login registry.gitlab.com
ubuntu-image:
script:
- docker login registry.gitlab.com
fedora: fedora:
before_script: before_script:
- apk add bash - apk add bash
@ -10,6 +18,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:
- fedora-image
ubuntu: ubuntu:
before_script: before_script:
@ -23,3 +33,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:
- ubuntu-image