feat: add ci config #3

Merged
konrad merged 2 commits from feature/automate-all-the-things into main 2023-03-10 21:30:03 +00:00
1 changed files with 48 additions and 0 deletions
Showing only changes of commit b475c64b41 - Show all commits

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
...