helm repo add vm-example-chart https://neilkuan.github.io/vm-example-chart/
- Clone this project
git clone https://github.com/neilkuan/vm-example-chart.git
- Checkout new branch from main branch
git checkout -b feat-awesome-branch
- make some magic 🪄
- 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
- Review by DevOps Team
- After merged , git tag version
v?.?.?
will trigger workflow release togh-pages
branchgit tag v?.?.? && git push origin v?.?.?
git checkout main
helm dependency build --skip-refresh
## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
## make some magic 🚨 🚨 🚨 do not forget update version in Chart.yaml 🚨 🚨 🚨
helm package .
git switch gh-pages
git pull origin gh-pages
rm -rf charts/
### Use none url
helm repo index --url "" .
git add .
## 🚨 🚨 🚨 only need commit `index.yaml` and `vm-example-chart-x.x.x.tgz` 🚨 🚨 🚨
git status
git commit -a -m "release version"
git push origin gh-pages