Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/deploy_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: azure/setup-helm@v4.3.0
- name: Package helm chart
run: |
helm package chart/cert-manager-webhook-ionos-cloud/
helm package chart/cert-manager-webhook-ionos-cloud/ --app-version ${{ steps.get-latest-tag.outputs.latest-tag }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand All @@ -38,13 +38,8 @@ jobs:
- name: switch to helm repo branch and create/update index.yaml
run: |
git checkout helm-repo
# if index.yaml exists and is not empty, we use merge
if [ -a index.yaml ] && [ -s index.yaml ]; then
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 }}/
else
helm repo index . --url https://github.com/ionos-cloud/cert-manager-webhook-ionos-cloud/releases/download/chart-${{ steps.get-latest-tag.outputs.latest-tag }}/
fi

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 }}/
git config user.email "no-reply@ionos-cloud.com";
git config user.name "IONOS-CloudBot";
git add index.yaml
Expand Down