jitsi-roomsv2/.drone.yml

46 lines
667 B
YAML
Raw Normal View History

2023-04-09 12:40:27 +02:00
---
2023-04-09 11:59:12 +02:00
kind: pipeline
type: docker
2023-04-09 12:02:46 +02:00
name: Build backend
2023-04-09 11:59:12 +02:00
steps:
2023-04-09 12:22:44 +02:00
- name: Build backend
2023-04-09 11:59:12 +02:00
image: nixos/nix
2023-04-09 16:21:57 +02:00
volumes:
- name: cache
path: /drone-shared
2023-04-09 11:59:12 +02:00
commands:
2023-04-09 12:02:46 +02:00
- cd backend
2023-04-09 11:59:12 +02:00
- nix-channel --update
- nix-build
2023-04-09 16:21:57 +02:00
- cp result /drone-shared/jitsi-rooms-docker-image
2023-04-09 11:59:12 +02:00
trigger:
2023-04-09 12:42:55 +02:00
event:
include:
- tag
2023-04-09 16:21:57 +02:00
- push
2023-04-09 16:23:03 +02:00
volumes:
2023-04-09 16:21:57 +02:00
- name: drone-shared
host:
path: /tmp/drone-shared
2023-04-09 12:22:44 +02:00
---
kind: pipeline
type: docker
name: Build frontend
steps:
- name: Build frontend
2023-04-09 12:23:47 +02:00
image: node:alpine
2023-04-09 12:22:44 +02:00
commands:
- cd frontend
- yarn install
- yarn build
trigger:
trigger:
event:
- tag
2023-04-09 11:59:12 +02:00
- push