ubiquitous-computing-geo-ti.../.gitlab-ci.yml
Marcel Schwarz b3a508b4d4 Change only to rules block
Because only is a deprecated feature
2020-04-29 00:43:56 +02:00

30 lines
494 B
YAML

build-vue:
image: docker:latest
stage: build
services:
- docker:dind
script:
- cd frontend
- docker build --pull -t vue .
rules:
- if: $CI_MERGE_REQUEST_ID
build-backend:
image: docker:latest
stage: build
services:
- docker:dind
script:
- cd backend
- docker build --pull -t backend .
rules:
- if: $CI_MERGE_REQUEST_ID
build-android:
image: debian
stage: build
script:
- echo "To be done"
rules:
- if: $CI_MERGE_REQUEST_ID