Refactor Github workflow files (#382)

* Refactor

* Add sha

* Add missing dash
This commit is contained in:
Ween Jiann
2021-07-10 11:20:09 +08:00
committed by GitHub
parent 8ef0df3d41
commit c12e985f81
7 changed files with 62 additions and 71 deletions

32
.github/workflows/release-chart.yaml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Release Charts
on:
push:
branches:
- master
paths:
- "charts/**"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- uses: azure/setup-helm@v1
id: install
- name: Add Helm repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"