From e02f98c4c8f1cdde5d86036140c845b8d143ede3 Mon Sep 17 00:00:00 2001 From: Kostya Date: Sun, 26 Apr 2020 12:51:45 +0800 Subject: [PATCH] Add GH action --- .github/workflows/publish.yaml | 23 +++++++++++++++++++++++ charts/basic/Chart.yaml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..47eabc1 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,23 @@ +name: Release Charts + +on: + push: + branches: + - master + +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" + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.0.0-rc.1 + env: + CR_TOKEN: "${{ secrets.CR_TOKEN }}" \ No newline at end of file diff --git a/charts/basic/Chart.yaml b/charts/basic/Chart.yaml index b62d19e..04b48cd 100644 --- a/charts/basic/Chart.yaml +++ b/charts/basic/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: A Helm chart for Kubernetes name: basic -version: 0.0.1 +version: 0.0.2