Skip to content

Adjust workflow

Adjust workflow #2

Workflow file for this run

# based on: https://github.com/helm/charts-repo-actions-demo/blob/main/.github/workflows/release.yaml
name: release
on:
push:
paths:
- 'chart/**'
- '.github/workflows/helm.yaml'
branches:
- master
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78
with:
version: v3.11.2
- name: Run chart-releaser
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968
with:
charts_dir: chart
config: chart/cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"