Skip to content

Commit 8b64ff4

Browse files
authored
Update publish-helm-charts.yaml
add action to upload the package
1 parent d4b7141 commit 8b64ff4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/publish-helm-charts.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,11 @@ jobs:
5959
echo "Packaging Helm charts for csi-driver..."
6060
helm package deploy/charts/ceph-csi-drivers -d .csi-op-release-packages
6161
62-
- name: Upload chart packages to GitHub Releases
62+
- name: Upload helm charts to release
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.CSI_GITHUB_TOKEN }}
6365
run: |
64-
echo "uploading the package to the release"
65-
cr upload \
66-
--owner=${{ github.repository_owner }} \
67-
--git-repo=ceph-csi-operator \
68-
--token=${{ secrets.CSI_GITHUB_TOKEN }} \
69-
--package-path=.csi-op-release-packages \
70-
--release-name-template="v{{ .Version }}"
66+
gh release upload "${{ github.event.release.tag_name }}" .csi-op-release-packages/* --clobber
7167
7268
- name: Update Helm repo index and push to gh-pages
7369
run: |

0 commit comments

Comments
 (0)