Skip to content

Commit

Permalink
use helm releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
liyaka committed Aug 26, 2024
1 parent 6760085 commit 2d43e55
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/publish_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,15 @@ jobs:
helm package --version ${{env.VERSION_NAME}} public-test/
cd -
- name: Update Helm Charts repo index
run: |
cd charts
helm repo index --url https://comet-ml.github.io/public-test/ --merge index.yaml .
cat index.yaml
cd -
- name: Push the changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "github-actions"
git add charts/*
git commit -m "Publish helm chart ${{env.VERSION_NAME}}"
git push origin main
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
skip_packaging: true
skip_existing: true
packages_with_index: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Summary
run: |
Expand Down

0 comments on commit 2d43e55

Please sign in to comment.