add helm-chart workflow

This commit is contained in:
2024-12-05 21:48:51 +01:00
parent d2a1b4f4f4
commit e8684cac14

19
.gitea/helm-chart.yaml Normal file
View File

@@ -0,0 +1,19 @@
stages:
- package
- upload
package-helm-chart:
stage: package
script:
- helm package helm/ -d ./packages/
artifacts:
paths:
- packages/*.tgz
upload-helm-chart:
stage: upload
dependencies:
- package-helm-chart
script:
- helm registry login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- helm push ./packages/*.tgz oci://$CI_REGISTRY/helm-charts