Add gitlab ci
This commit is contained in:
parent
4da629ce2d
commit
a2b55ca1c0
30
.gitlab-ci.yml
Normal file
30
.gitlab-ci.yml
Normal file
@ -0,0 +1,30 @@
|
||||
build-vue:
|
||||
image: docker:latest
|
||||
stage: build
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- cd frontend
|
||||
- docker build --pull -t vue .
|
||||
only:
|
||||
- merge_requests
|
||||
|
||||
|
||||
build-backend:
|
||||
image: docker:latest
|
||||
stage: build
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- cd backend
|
||||
- docker build --pull -t backend .
|
||||
only:
|
||||
- merge_requests
|
||||
|
||||
build-android:
|
||||
image: debian
|
||||
stage: build
|
||||
script:
|
||||
- echo "To be done"
|
||||
only:
|
||||
- merge_requests
|
Loading…
Reference in New Issue
Block a user