From 01bf91aeeebea518b6ceb7a5c4cd396b90cff7bf Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 20 Aug 2023 13:47:30 +0000 Subject: [PATCH] Update 2 files - /scripts/helm-push.sh - /templates/helm.tpl.yml --- scripts/helm-push.sh | 5 +++-- templates/helm.tpl.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/helm-push.sh b/scripts/helm-push.sh index 2e78c63..2dae5dc 100644 --- a/scripts/helm-push.sh +++ b/scripts/helm-push.sh @@ -2,6 +2,7 @@ #%%MULTILINE_YAML_START #Helm Push +helm plugin install https://github.com/chartmuseum/helm-push for chart in packages/*; do - helm push ./$chart oci://$CI_REGISTRY/$CI_PROJECT_PATH -done \ No newline at end of file + helm cm-push ./$chart ${CI_PROJECT_NAME} +done diff --git a/templates/helm.tpl.yml b/templates/helm.tpl.yml index 826214a..6b019fb 100644 --- a/templates/helm.tpl.yml +++ b/templates/helm.tpl.yml @@ -10,5 +10,5 @@ .helm-push: image: dtzar/helm-kubectl script: - - ./scripts/helm-login.sh + - ./scripts/helm-addrepo.sh - ./scripts/helm-push.sh