delete concrete version when using helm to install ob-operator (#637) #213
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]+' | |
- "dashboard-[0-9]+.[0-9]+.[0-9]+" | |
branches: | |
- master | |
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: powerfooI/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
with: | |
mark_as_latest: false | |
skip_existing: true | |
pages_branch: master | |
pages_index_path: docsite/static/index.yaml | |
pr: true |