Skip to content

Commit

Permalink
add workflows for release chart (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed Apr 19, 2023
1 parent 4399963 commit a9993da
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release-chart.yaml
@@ -0,0 +1,35 @@
name: Release Charts

on:
push:
branches:
- master

permissions: {}
jobs:
release:
permissions:
contents: write # to push chart release and create a release (helm/chart-releaser-action)

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: charts
config: cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions cr.yaml
@@ -0,0 +1 @@
sign: false

0 comments on commit a9993da

Please sign in to comment.