-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update chart release workflow (#3691)
Signed-off-by: 马洪贞 <[email protected]>
- Loading branch information
1 parent
36eba82
commit b6b1fcc
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,9 @@ on: | |
push: | ||
branches: | ||
- master | ||
tags: | ||
- v* | ||
|
||
permissions: {} | ||
jobs: | ||
release: | ||
permissions: | ||
|
@@ -16,20 +17,17 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: charts | ||
config: cr.yaml | ||
packages_with_index: true | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |