-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add ci for release helm chart (#121)
host Helm chart on GitHub pages.
- Loading branch information
1 parent
4a9388d
commit b4ef96d
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
Submodule chart-releaser-action
added at
6eec36
Submodule setup-helm
added at
feeafa
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: ./.github/actions/setup-helm | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Add Helm repo | ||
run: | | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add apisix https://charts.apiseven.com | ||
- name: Run chart-releaser | ||
uses: ./.github/actions/chart-releaser-action | ||
with: | ||
charts_dir: . | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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