From 52f66dabf624963271523944ff70ad99e79914ee Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Sat, 17 Sep 2022 22:42:26 +0100 Subject: [PATCH] add a release workflow --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..699ae74 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: helm-release +on: + push: + branches: + - master +jobs: + chart: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Download chart releaser + run: | + curl -sSLo hcr.tar.gz "https://github.com/pete911/hcr/releases/download/v0.0.5/hcr_0.0.5_linux_amd64.tar.gz" + tar -xzf hcr.tar.gz + rm -f hcr.tar.gz + - name: Package and release chart + run: | + git config user.email "gh-action@users.noreply.github.com" + git config user.name "gh-action" + ./hcr -chart-dir archesproject -token "${{ secrets.GITHUB_TOKEN }}"