File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Chart
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ release_version :
7+ description : ' The release version of helm chart'
8+ required : true
9+ default : ' '
10+ release :
11+ types :
12+ - published
13+
14+ env :
15+ RELEASE_VERSION : ${{ github.ref_name }}
16+ GITHUB_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
17+ GH_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
18+
19+ jobs :
20+ release-version :
21+ runs-on : ubuntu-latest
22+ outputs :
23+ release-version : ${{ steps.get_release_version.outputs.release_version }}
24+ steps :
25+ - name : Get Release Version
26+ id : get_release_version
27+ run : |
28+ RELEASE_VERSION=${{ inputs.release_version }}
29+ if [ -z "$RELEASE_VERSION" ]; then
30+ RELEASE_VERSION=${{ env.RELEASE_VERSION }}
31+ fi
32+ echo release_version=$RELEASE_VERSION >> $GITHUB_OUTPUT
33+
34+ release-chart :
35+ needs : [ release-version ]
36+ uses :
apecloud/apecloud-cd/.github/workflows/[email protected] 37+ with :
38+ VERSION : " ${{ needs.release-version.outputs.release-version }}"
39+ CHART_NAME : " kubeblocks-docs"
40+ CHART_DIR : " helm"
41+ APECD_REF : " v0.1.86"
42+ secrets : inherit
You can’t perform that action at this time.
0 commit comments