feat: add ci config
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
cb5b1453df
commit
b475c64b41
|
@ -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
|
||||
|
||||
...
|
Loading…
Reference in New Issue