Skip to content

fix(ci): skip uploading if chart exists (#185) (#188) #14

fix(ci): skip uploading if chart exists (#185) (#188)

fix(ci): skip uploading if chart exists (#185) (#188) #14

Workflow file for this run

name: release helm charts
on:
push:
tags:
- '2.[0-9]+.[0-9]+'
- 'chart-2.[0-9]+.[0-9]+'
- 'oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+'
jobs:
release-chart:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
mark_as_latest: false
skip_existing: true