From 2251a3ff3415a0e0f08d302a8284bac1e0a3c83a Mon Sep 17 00:00:00 2001 From: DeveloperDurpBot Date: Sun, 20 Aug 2023 13:48:16 +0000 Subject: [PATCH] ci: render Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/973570173 --- jobs/helm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jobs/helm.yml b/jobs/helm.yml index 8aff371..5492d90 100644 --- a/jobs/helm.yml +++ b/jobs/helm.yml @@ -18,12 +18,12 @@ .helm-push: image: dtzar/helm-kubectl script: - # Begin of helm-login.sh + # Begin of helm-addrepo.sh - | - #Helm login - helm registry login ${CI_REGISTRY} -u gitlab-ci-token -p ${CI_JOB_TOKEN} - # End of helm-login.sh + #Helm repo add + helm repo add --username gitlab-ci-token --password ${CI_JOB_TOKEN} ${CI_PROJECT_NAME} ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable + # End of helm-addrepo.sh # Begin of helm-push.sh - - "#Helm Push \n \nfor chart in packages/*; do\n helm push ./$chart oci://$CI_REGISTRY/$CI_PROJECT_PATH\ndone\n" + - "#Helm Push \n \nhelm plugin install https://github.com/chartmuseum/helm-push\nfor chart in packages/*; do\n helm cm-push ./$chart ${CI_PROJECT_NAME}\ndone\n" # End of helm-push.sh