forked from Kispi/Core
Simon Giesel
c70dba5ab3
All checks were successful
continuous-integration/drone/push Build is passing
46 lines
No EOL
776 B
YAML
46 lines
No EOL
776 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: install-webapp
|
|
image: node:lts-alpine
|
|
commands:
|
|
- cd webapp
|
|
- corepack pnpm@8.6.6 install
|
|
|
|
- name: lint-webapp
|
|
image: node:lts-alpine
|
|
commands:
|
|
- cd webapp
|
|
- corepack pnpm@8.6.6 lint
|
|
|
|
- name: version-webapp
|
|
image: node:lts-alpine
|
|
commands:
|
|
- cd webapp
|
|
- corepack pnpm@8.6.6 generate-version
|
|
|
|
- name: build-webapp
|
|
image: node:lts-alpine
|
|
commands:
|
|
- cd webapp
|
|
- corepack pnpm@8.6.6 build
|
|
|
|
- name: deploy
|
|
image: plugins/docker
|
|
settings:
|
|
registry: registry.cliffbreak.de
|
|
repo: registry.cliffbreak.de/hgoe-sas
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
when:
|
|
event:
|
|
- push
|
|
- tag
|
|
- promote
|
|
|
|
trigger:
|
|
branch:
|
|
- master |