File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 uses : azure/setup-helm@v4.3.0
2222 - name : Package helm chart
2323 run : |
24- helm package chart/cert-manager-webhook-ionos-cloud/
24+ helm package chart/cert-manager-webhook-ionos-cloud/ --app-version ${{ steps.get-latest-tag.outputs.latest-tag }}
2525 - name : Create Release
2626 uses : ncipollo/release-action@v1
2727 with :
3838 - name : switch to helm repo branch and create/update index.yaml
3939 run : |
4040 git checkout helm-repo
41- # if index.yaml exists and is not empty, we use merge
42- if [ -a index.yaml ] && [ -s index.yaml ]; then
43- helm repo index . --merge index.yaml --url https://github.com/ionos-cloud/cert-manager-webhook-ionos-cloud/releases/download/chart-${{ steps.get-latest-tag.outputs.latest-tag }}/
44- else
45- helm repo index . --url https://github.com/ionos-cloud/cert-manager-webhook-ionos-cloud/releases/download/chart-${{ steps.get-latest-tag.outputs.latest-tag }}/
46- fi
47-
41+ helm repo index . --merge index.yaml \
42+ --url https://github.com/ionos-cloud/cert-manager-webhook-ionos-cloud/releases/download/chart-${{ steps.get-latest-tag.outputs.latest-tag }}/
4843 git config user.email "no-reply@ionos-cloud.com";
4944 git config user.name "IONOS-CloudBot";
5045 git add index.yaml
You can’t perform that action at this time.
0 commit comments