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 }}"