File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1515 publish-chart :
1616 runs-on : ubuntu-latest
1717 permissions :
18- contents : read
18+ contents : write # Required for pushing the repository
1919 packages : write # Required to push to GHCR
2020
2121 steps :
2525 - name : Install Helm
26262727
28+ - name : Bump Helm Chart
29+ 30+ with :
31+ path : ./charts/openstack-hypervisor-operator/
32+ release : " 0.1.0"
33+ branch : main
34+ github-token : ${{ secrets.GITHUB_TOKEN }}
35+
2836 - name : Package Helm chart
2937 run : |
3038 helm package ./charts/openstack-hypervisor-operator
3745 run : |
3846 CHART_NAME=openstack-hypervisor-operator
3947 CHART_VERSION=$(grep "version:" ./charts/${CHART_NAME}/Chart.yaml | awk '{print $2}')
40- helm push "${CHART_NAME}-${CHART_VERSION}.tgz" "oci://ghcr.io/${{ github.repository_owner }}"
48+ helm push "${CHART_NAME}-${CHART_VERSION}.tgz" "oci://ghcr.io/${{ github.repository_owner }}/charts "
You can’t perform that action at this time.
0 commit comments