From befea1b0a120d3dcb5d8435b0ecf040f8ff17027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 20 Jan 2019 16:03:40 +0000 Subject: [PATCH] start building images on gitlab --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6216e5ea..1ed15998 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: before_script: - apk add bash @@ -10,6 +20,8 @@ fedora: DOCKER_IMAGE: cyplo/fedora29_base DOCKER_HOST: tcp://docker:2375/ DOCKER_DRIVER: overlay2 + dependencies: + - image:fedora ubuntu: before_script: @@ -23,3 +35,5 @@ ubuntu: DOCKER_IMAGE: cyplo/cosmic_base DOCKER_HOST: tcp://docker:2375/ DOCKER_DRIVER: overlay2 + dependencies: + - image:ubuntu