From 7ead45df85169bbd92be0d853b9c7809e2c7ca9f Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Thu, 22 Oct 2020 07:19:45 -0400 Subject: [PATCH] Release Helm charts via helm/chart-releaser GHA Use the official Helm chart releasing GitHub Action instead of our custom bash. Travis CI can be removed after this commit, as all tests will have equivalents for GHAs. Closes: #71 Signed-off-by: Daniel Farrell --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e19fdb4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +--- +name: Release Charts + +on: + push: + branches: + - master + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - 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 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"