File tree 1 file changed +0
-24
lines changed 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 73
73
username : ${{ github.actor }}
74
74
password : ${{ secrets.GITHUB_TOKEN }}
75
75
76
- - name : Install helm
77
- uses : azure/setup-helm@v4
78
-
79
- - name : Update helm chart
80
- run : |
81
- git checkout main
82
- sed -Ei \
83
- -e 's/^(version\:) .*/\1 '${{ env.VERSION }}'/g' \
84
- -e 's/^(appVersion\:) .*/\1 "'${{ env.VERSION }}'"/g' \
85
- charts/dragonfly-operator/Chart.yaml
86
-
87
- git commit \
88
- -m 'chore(helm-chart): update to ${{ env.VERSION }}' \
89
- charts/dragonfly-operator/Chart.yaml
90
-
91
- - name : Push Helm chart as OCI to Github
92
- run : |
93
- echo "${{ secrets.GITHUB_TOKEN }}" | \
94
- helm registry login -u ${{ github.actor }} --password-stdin ghcr.io
95
-
96
- helm package charts/dragonfly-operator
97
-
98
- helm push dragonfly-operator-${{ env.VERSION }}.tgz oci://ghcr.io/${{ github.repository }}/helm
99
-
100
76
- name : Build and Publish image into GHCR
101
77
uses : docker/build-push-action@v5
102
78
with :
You can’t perform that action at this time.
0 commit comments