File tree Expand file tree Collapse file tree 5 files changed +1659
-16
lines changed
Expand file tree Collapse file tree 5 files changed +1659
-16
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,25 @@ jobs:
2222 git config user.email "release-bot@users.noreply.github.com"
2323
2424 - name : Install Helm
25- uses : azure/setup-helm@v4
25+ uses : azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
2626
2727 - name : Add dependency chart repos
2828 run : |
2929 helm repo add bitnami https://charts.bitnami.com/bitnami
3030 helm repo add minio https://charts.min.io/
3131 helm repo add percona https://percona.github.io/percona-helm-charts/
3232
33- - name : Run chart-releaser
34- uses : helm/chart-releaser-action@v1
35- with :
36- mark_as_latest : false
37- env :
38- CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
39- CR_RELEASE_NAME_TEMPLATE : " {{ .Name }}-helm-chart-{{ .Version }}"
33+ - name : Update Chart.lock
34+ working-directory : charts/odin
35+ run : helm dependency update
36+
37+ - name : Lint chart
38+ working-directory : charts/odin
39+ run : helm lint .
40+
41+ - name : Publish helm chart
42+ working-directory : charts
43+ run : |
44+ helm package odin
45+ VERSION=$(yq -r '.version' odin/Chart.yaml)
46+ helm push odin-${VERSION}.tgz ${{ vars.HELM_REGISTRY }}/${{ vars.HELM_REPOSITORY }} --username ${{ secrets.HELM_USERNAME }} --password ${{ secrets.HELM_PASSWORD }}
Original file line number Diff line number Diff line change @@ -25,5 +25,4 @@ replay_pid*
2525
2626target /
2727.idea /
28- values.yaml
2928.cursor /
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ version: 0.0.1
66appVersion : 0.0.1
77keywords :
88 - odin
9+ - percona
910dependencies :
1011 - name : common
1112 repository : https://charts.bitnami.com/bitnami
You can’t perform that action at this time.
0 commit comments