diff --git a/.github/workflows/tag.yaml b/.github/workflows/release.yaml similarity index 54% rename from .github/workflows/tag.yaml rename to .github/workflows/release.yaml index c933063..f4b326c 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Create Tag +name: Release on: push: branches: @@ -25,3 +25,22 @@ jobs: set -x git fetch --tags https://github.com/${{ env.upstream }}.git git push --tags + 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: Install Helm + uses: azure/setup-helm@v1 + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.2.1 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + charts_dir: chart