Skip to content

Release v2.0.1

Release v2.0.1 #35

Workflow file for this run

name: release-v2
run-name: Release ${{ github.ref_name }}
on:
push:
tags:
- "v2.*.*"
jobs:
release:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make release ${{ github.ref_name }}
run: V_RELEASE=${{ github.ref_name }} make release
- name: release
uses: softprops/action-gh-release@v2
with:
files: |
_output/manifests/tidb-operator.crds.yaml
_output/manifests/tidb-operator.yaml
- name: push charts
run: |
echo "${{ github.token }}" | ./_output/bin/helm registry login -u pingcap ghcr.io --password-stdin
./_output/bin/helm push ./_output/manifests/tidb-operator-${{ github.ref_name }}.tgz oci://ghcr.io/pingcap/charts