client/.drone.yml

27 lines
582 B
YAML
Raw Normal View History

2023-02-08 12:37:55 +01:00
kind: pipeline
2023-02-14 00:07:49 +01:00
type: docker
2023-02-08 12:37:55 +01:00
name: default
steps:
- name: build
image: node:latest
commands:
- sed -i '/"electron":/d' ./package.json
- sed -i '/"electron-builder":/d' ./package.json
- sed -i '/"express":/d' ./package.json
- npm install
2023-02-13 22:25:11 +01:00
- npm run build
2023-02-13 22:37:20 +01:00
- name: docker-build
2023-02-14 00:27:40 +01:00
image: plugins/docker
2023-02-14 00:02:10 +01:00
settings:
2023-02-14 00:53:26 +01:00
registry: code.anufrij.de
2023-02-14 00:51:34 +01:00
repo: code.anufrij.de/webplay/client
2023-02-14 00:02:10 +01:00
tags: latest
2023-02-14 00:43:36 +01:00
dockerfile: ./docker/Dockerfile
2023-02-14 00:02:10 +01:00
username:
from_secret: username
password:
from_secret: password
2023-02-14 00:13:35 +01:00