diff --git a/.github/workflows/release-create.yaml b/.github/workflows/release-create.yaml index db13047..0be1c7b 100644 --- a/.github/workflows/release-create.yaml +++ b/.github/workflows/release-create.yaml @@ -1,13 +1,17 @@ name: Create a new release on: - release: - types: [created] + push: + tags: + - 'v*.*.*' + jobs: release: + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -17,6 +21,6 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.1.0 + uses: helm/chart-releaser-action@v1.7.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file