1
0
mirror of https://gitlab.com/openlp/runners.git synced 2024-12-22 11:22:48 +00:00

Only run gitlab on main master

This commit is contained in:
Raoul Snyman 2019-09-16 22:12:32 -07:00
parent 83051b02e7
commit e91f811e94
Signed by: raoul
GPG Key ID: F55BCED79626AE9C

View File

@ -18,6 +18,8 @@ build-debian:
- docker build --cache-from $CONTAINER_IMAGE:debian --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:debian -f Dockerfile.debian .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:debian
only:
- master@openlp/runners
build-ubuntu:
stage: build
@ -26,6 +28,8 @@ build-ubuntu:
- docker build --cache-from $CONTAINER_IMAGE:ubuntu --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:ubuntu -f Dockerfile.ubuntu .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:ubuntu
only:
- master@openlp/runners
build-fedora:
stage: build
@ -34,3 +38,5 @@ build-fedora:
- docker build --cache-from $CONTAINER_IMAGE:fedora --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:fedora -f Dockerfile.fedora .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:fedora
only:
- master@openlp/runners