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