client/.drone.yml
Artem Anufrij 1b20ed965d
Some checks failed
continuous-integration/drone/push Build is failing
drone docker
2023-02-14 00:43:36 +01:00

27 lines
566 B
YAML

kind: pipeline
type: docker
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
- npm run build
- name: docker-build
image: plugins/docker
settings:
registry: code.anufrij.de
repo: webplay/client
tags: latest
dockerfile: ./docker/Dockerfile
username:
from_secret: username
password:
from_secret: password