dotfiles/.gitlab-ci.yml
2019-01-20 16:10:14 +00:00

53 lines
1 KiB
YAML

image:fedora:
stage: build
image: docker:stable
services:
- docker:dind
script:
- docker info
- docker login registry.gitlab.com
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
image:ubuntu:
stage: build
image: docker:stable
services:
- docker:dind
script:
- docker info
- docker login registry.gitlab.com
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
fedora:
before_script:
- apk add bash
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
dependencies:
- image:fedora
ubuntu:
before_script:
- apk add bash
script: ./test.sh
image: docker:stable
services:
- docker:dind
variables:
DETECTED_OS: ubuntu:cosmic
DOCKER_IMAGE: cyplo/cosmic_base
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
dependencies:
- image:ubuntu