client/.drone.yml
Artem Anufrij 43d50005b5
Some checks reported errors
continuous-integration/drone/push Build encountered an error
drone docker
2023-02-14 00:13:35 +01:00

27 lines
564 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
dockerfile: ./docker/Dockerfile
pull: never
settings:
repo: code.anufrij.de/webplay/client
tags: latest
username:
from_secret: username
password:
from_secret: password