Update 4 files
- /scripts/helm-push.sh - /scripts/helm-login.sh - /templates/helm.tpl.yml - /pipelines/helm.yaml
This commit is contained in:
5
scripts/helm-login.sh
Normal file
5
scripts/helm-login.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
#%%MULTILINE_YAML_START
|
||||
#Helm login
|
||||
|
||||
helm registry login ${CI_REGISTRY} -u gitlab-ci-token -p ${CI_JOB_TOKEN}
|
||||
@@ -2,7 +2,6 @@
|
||||
#%%MULTILINE_YAML_START
|
||||
#Helm Push
|
||||
|
||||
helm plugin install https://github.com/chartmuseum/helm-push
|
||||
for chart in packages/*; do
|
||||
helm cm-push ./$chart ${CI_PROJECT_NAME}
|
||||
done
|
||||
helm push ./$chart oci://$CI_REGISTRY/$CI_PROJECT_PATH
|
||||
done
|
||||
Reference in New Issue
Block a user