From e8684cac14834455cc4c139ef32a04a5cc417527 Mon Sep 17 00:00:00 2001 From: Tim Unkrig Date: Thu, 5 Dec 2024 21:48:51 +0100 Subject: [PATCH] add helm-chart workflow --- .gitea/helm-chart.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/helm-chart.yaml diff --git a/.gitea/helm-chart.yaml b/.gitea/helm-chart.yaml new file mode 100644 index 0000000..67faf84 --- /dev/null +++ b/.gitea/helm-chart.yaml @@ -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 \ No newline at end of file