forked from mirrors/cert-manager-webhook-variomedia
add helm-chart workflow
This commit is contained in:
19
.gitea/helm-chart.yaml
Normal file
19
.gitea/helm-chart.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user