build: Use a separate pipeline for helm chart

This commit is contained in:
Nikolai Rodionov 2023-03-17 15:50:21 +01:00 committed by Nikolai Rodionov
parent dc364aaba9
commit a595adc7ef
1 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
# ----------------------------------------------
# -- Build the site and push it to the registry
# -- Update the helm chart
# ----------------------------------------------
kind: pipeline
type: kubernetes
@ -21,7 +21,19 @@ steps:
- helm package chart -d chart-package
- helm repo add --username allanger --password $GITEA_TOKEN badhouseplants-net https://git.badhouseplants.net/api/packages/badhouseplants/helm
- helm cm-push "./chart-package/$(ls chart-package)" badhouseplants-net
---
# ----------------------------------------------
# -- Build the site and push it to the registry
# ----------------------------------------------
kind: pipeline
type: kubernetes
name: Build badhouseplants.net
trigger:
event:
- push
steps:
- name: Download submodules with themes
image: alpine/git
commands: