fix(ci): deploy helm chart
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2022-01-25 21:52:51 +01:00
parent 6c0aa4f013
commit 83b9f27381
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 29 additions and 0 deletions

View File

@ -51,6 +51,35 @@ trigger:
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: release
platform:
os: linux
steps:
- name: release-helm-chart
commands:
- helm plugin install https://github.com/chartmuseum/helm-push.git
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
- helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
environment:
HELM_REPO_PASSWORD:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/alpine/helm:3.7.2
trigger:
event:
- tag
repo:
- volker.raschek/postfixadmin-fetchmail-charts
---
kind: pipeline
type: kubernetes