From 6ea2c6d5eb271b31e0a807b623f913790f87c750 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 25 Jan 2022 22:08:51 +0100 Subject: [PATCH] fix(ci): deploy helm chart --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.drone.yml b/.drone.yml index aa86dc4..57cbf54 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/renovate-charts + --- kind: pipeline type: kubernetes