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

46 lines
776 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
2023-07-09 19:27:45 +00:00
- corepack pnpm@8.6.6 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
2023-07-09 19:27:45 +00:00
- 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
2023-07-09 19:27:45 +00:00
- corepack pnpm@8.6.6 build
2022-07-12 18:44:26 +00:00
- name: deploy
image: plugins/docker
settings:
registry: registry.cliffbreak.de
2023-06-05 16:05:25 +00:00
repo: registry.cliffbreak.de/hgoe-sas
2022-07-12 18:44:26 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
- promote
trigger:
branch:
- master