From e45e3b89f5577a2352e49c4241daa6dc3c8e0770 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 25 Jan 2022 22:13:23 +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 1bdb5f6..6403a26 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/drone-runner-charts + --- kind: pipeline type: kubernetes