Skip to content

Commit 34bea5f

Browse files
author
Morris Musumi
committed
update .github/workflows/helm_chart.yaml
1 parent 1d70eae commit 34bea5f

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/helm_chart.yaml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ jobs:
2525
helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done
2626
done
2727
28-
# - name: Run chart-releaser
29-
# uses: helm/chart-releaser-action@v1.6.0
30-
# with:
31-
# charts_dir: charts
32-
# env:
33-
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
34-
3528
- name: Install chart-releaser
3629
run: |
3730
curl -sSL https://github.com/helm/chart-releaser/releases/download/v1.6.1/chart-releaser_1.6.1_linux_amd64.tar.gz | tar xz
@@ -47,30 +40,10 @@ jobs:
4740
env:
4841
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4942
run: |
50-
cr upload --owner ${{ github.repository_owner }} --git-repo $(basename ${{ github.repository }}) --packages-with-index --skip-existing
43+
cr upload --owner ${{ github.repository_owner }} --git-repo $(basename ${{ github.repository }}) --packages-with-index --push --skip-existing
5144
5245
- name: Update index
5346
env:
5447
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
5548
run: |
56-
cr index --owner ${{ github.repository_owner }} --git-repo $(basename ${{ github.repository }}) --packages-with-index --index-path . --push
57-
58-
# - name: Upload new chart releases (skip existing)
59-
# env:
60-
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
61-
# run: |
62-
# cr upload \
63-
# --owner "${{ github.repository_owner }}" \
64-
# --git-repo "$(basename ${{ github.repository }})" \
65-
# --charts-dir charts \
66-
# --skip-existing
67-
68-
# - name: Update Helm repo index
69-
# env:
70-
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
71-
# run: |
72-
# cr index \
73-
# --owner "${{ github.repository_owner }}" \
74-
# --git-repo "$(basename ${{ github.repository }})" \
75-
# --charts-dir charts \
76-
# --push
49+
cr index --owner ${{ github.repository_owner }} --git-repo $(basename ${{ github.repository }}) --packages-with-index --index-path . --push

0 commit comments

Comments
 (0)