From 2d54af9fafae822b27843be3bbe3fe805ad57afd Mon Sep 17 00:00:00 2001 From: Rizky Maulana Nugraha Date: Fri, 11 Sep 2020 18:24:25 +0700 Subject: [PATCH] Add github action for release --- .github/workflows/release.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..51209aa --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,27 @@ +name: Release Charts + +on: + push: + branches: + - master + +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: lucernae/chart-releaser-action@rancher-1.0 + with: + level: 3 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"