Add ci for helm chart related to #2
This commit is contained in:
parent
2530a30d7d
commit
de8524b6eb
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
image: alpine/helm:3.2.4
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- mkdir public
|
||||||
|
- helm package . --destination public
|
||||||
|
- helm repo index --url https://${CI_PROJECT_NAMESPACE}.gitlab.io/${CI_PROJECT_NAME} .
|
||||||
|
- mv index.yaml ./public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- tags
|
Loading…
Reference in a new issue