feat: add ci config (#3)
continuous-integration/drone/push Build is passing Details

Resolves #2

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #3
This commit is contained in:
konrad 2023-03-10 21:30:02 +00:00
parent d84628f6b4
commit ab61974ad5
1 changed files with 50 additions and 0 deletions

50
.drone.yml Normal file
View File

@ -0,0 +1,50 @@
---
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 dependency update
- 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 dependency update
- 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: 6255e5bec10e3e6eeaf92a8b523e04e03a191c13822b829d3361a861c9845fce
...