Skip to content

Commit

Permalink
add helm-chart release workflow (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
chnliyong authored Feb 6, 2021
1 parent 391d9e9 commit 50c1ca8
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release-name-template: "helm-chart-{{ .Name }}-{{ .Version }}"
28 changes: 28 additions & 0 deletions .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release Helm Charts

on:
push:
branches:
- master
paths:
- "charts/**"

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 "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config: .github/workflows/cr.yaml

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ secret*
/deploy-dev/
.idea
.DS_Store
.cr-release-packages
.cr-index
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: juicefs-csi
name: juicefs-csi-driver
description: A Helm chart for JuiceFS CSI Driver

# A chart can be either an 'application' or a 'library' chart.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 50c1ca8

Please sign in to comment.