1
0
Fork 0
forked from Kispi/Core
HGOE-SaS/.drone.yml

40 lines
662 B
YAML
Raw Normal View History

2022-07-12 18:44:26 +00:00
kind: pipeline
name: default
steps:
- name: install-webapp
image: node:lts-alpine
2022-07-12 18:44:26 +00:00
commands:
- cd webapp
- corepack pnpm@8.6.0 install
2022-07-12 18:44:26 +00:00
- name: lint-webapp
image: node:lts-alpine
2022-07-12 18:44:26 +00:00
commands:
- cd webapp
- corepack pnpm@8.6.0 lint
- name: build-webapp
image: node:lts-alpine
commands:
- cd webapp
- corepack pnpm@8.6.0 build
2022-07-12 18:44:26 +00:00
- name: deploy
image: plugins/docker
settings:
registry: registry.cliffbreak.de
repo: registry.cliffbreak.de/kispi-core
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
- promote
trigger:
branch:
- master