2019-09-17 05:03:02 +00:00
|
|
|
image: docker:stable
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DOCKER_HOST: tcp://docker:2375
|
|
|
|
DOCKER_DRIVER: overlay2
|
|
|
|
|
|
|
|
before_script:
|
2019-09-26 16:39:40 +00:00
|
|
|
- echo "$DOCKER_TOKEN" | docker login --username "$DOCKER_USER" --password-stdin
|
2019-09-17 05:03:02 +00:00
|
|
|
|
|
|
|
build-debian:
|
|
|
|
stage: build
|
|
|
|
script:
|
2019-09-26 16:39:40 +00:00
|
|
|
- docker pull openlp/debian || true
|
|
|
|
- docker build --cache-from openlp/debian --tag openlp/debian:$CI_COMMIT_SHA --tag openlp/debian:latest -f Dockerfile.debian .
|
|
|
|
- docker push openlp/debian:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/debian:latest
|
2019-09-17 05:12:32 +00:00
|
|
|
only:
|
2019-10-06 00:26:28 +00:00
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.debian
|
|
|
|
|
2019-09-17 05:03:02 +00:00
|
|
|
|
|
|
|
build-ubuntu:
|
|
|
|
stage: build
|
|
|
|
script:
|
2019-09-26 16:39:40 +00:00
|
|
|
- docker pull openlp/ubuntu || true
|
|
|
|
- docker build --cache-from openlp/ubuntu --tag openlp/ubuntu:$CI_COMMIT_SHA --tag openlp/ubuntu:latest -f Dockerfile.ubuntu .
|
|
|
|
- docker push openlp/ubuntu:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/ubuntu:latest
|
2019-09-17 05:12:32 +00:00
|
|
|
only:
|
2019-10-06 00:26:28 +00:00
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.ubuntu
|
2019-09-17 05:03:02 +00:00
|
|
|
|
|
|
|
build-fedora:
|
|
|
|
stage: build
|
|
|
|
script:
|
2019-09-26 16:39:40 +00:00
|
|
|
- docker pull openlp/fedora || true
|
|
|
|
- docker build --cache-from openlp/fedora --tag openlp/fedora:$CI_COMMIT_SHA --tag openlp/fedora:latest -f Dockerfile.fedora .
|
|
|
|
- docker push openlp/fedora:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/fedora:latest
|
2019-09-17 05:12:32 +00:00
|
|
|
only:
|
2019-10-06 00:26:28 +00:00
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.fedora
|
|
|
|
|
|
|
|
build-arch:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- docker pull openlp/arch || true
|
|
|
|
- docker build --cache-from openlp/arch --tag openlp/arch:$CI_COMMIT_SHA --tag openlp/arch:latest -f Dockerfile.arch .
|
|
|
|
- docker push openlp/arch:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/arch:latest
|
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.arch
|
|
|
|
|
|
|
|
build-angular:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- docker pull openlp/angular || true
|
|
|
|
- docker build --cache-from openlp/angular --tag openlp/angular:$CI_COMMIT_SHA --tag openlp/angular:latest -f Dockerfile.angular .
|
|
|
|
- docker push openlp/angular:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/angular:latest
|
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.angular
|
2019-10-03 17:49:46 +00:00
|
|
|
|
|
|
|
build-documentation:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- docker pull openlp/documentation || true
|
|
|
|
- docker build --cache-from openlp/documentation --tag openlp/documentation:$CI_COMMIT_SHA --tag openlp/documentation:latest -f Dockerfile.documentation .
|
|
|
|
- docker push openlp/documentation:$CI_COMMIT_SHA
|
|
|
|
- docker push openlp/documentation:latest
|
|
|
|
only:
|
2019-10-06 00:26:28 +00:00
|
|
|
refs:
|
|
|
|
- master@openlp/runners
|
|
|
|
changes:
|
|
|
|
- Dockerfile.documentation
|