feat: add ci config
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-03-10 18:39:18 +01:00
parent cb5b1453df
commit b475c64b41
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 48 additions and 0 deletions

48
.drone.yml Normal file
View File

@ -0,0 +1,48 @@
---
kind: pipeline
type: docker
name: build
trigger:
branch:
include:
- main
event:
include:
- push
- pull_request
steps:
- name: build
image: alpine/helm
pull: always
commands:
- helm package .
---
kind: pipeline
type: docker
name: release
depends_on:
- build
trigger:
event:
- tag
steps:
- name: build
image: alpine/helm
pull: always
environment:
HELM_PASSWORD:
from_secret: helm_password
commands:
- helm package .
- curl --user "frederick:$HELM_PASSWORD" -X POST --upload-file './<archive>.tgz' https://kolaente.dev/api/packages/vikunja/helm/api/charts
---
kind: signature
hmac: 9c29dc4dbf8a34c4e511927f1acaade8b88bdbc558a486301c9a3752e9dc41fb
...