helm cr upload --skip-existing (#16)

Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
This commit is contained in:
berg 2022-04-21 20:45:10 +08:00 committed by GitHub
parent dd61115856
commit c0cfe9d359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -26,16 +26,17 @@ jobs:
- name: Configure Git - name: Configure Git
run: | run: |
git config user.name "gh-actions" git config user.name "gh-actions"
git config user.email "actions@github.com" git config user.email "actions@github.com"
# This is required to consider the old Circle-CI Index and to stay compatible with all the old releases. # This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
- name: Fetch current Chart Index - name: Fetch current Chart Index
run: | run: |
git checkout origin/gh-pages index.yaml git checkout origin/gh-pages index.yaml
- name: Run chart-releaser - name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1 uses: helm/chart-releaser-action@v1.2.1
with: with:
charts_dir: charts charts_dir: charts
config: "./.github/configs/cr.yaml" config: "./.github/configs/cr.yaml"
env: env:
CR_TOKEN: "${{ secrets.GH_TOKEN }}" CR_TOKEN: "${{ secrets.GH_TOKEN }}"
CR_SKIP_EXISTING: "true"