chart releasser #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Charts | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git | |
| run: | | |
| git config user.name github-actions | |
| git config user.email security@notablehealth.com | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.8.1 | |
| - name: Add Repositories | |
| run: | | |
| helm repo add bitnami https://charts.bitnami.com/bitnami | |
| helm repo add vivaa-permify https://notablehealth.github.io/permify-helm-charts | |
| helm repo update | |
| - name: Update Helm Dependencies | |
| run: | | |
| helm dependency update ./charts/permify | |
| - name: Run chart-releaser | |
| uses: helm/chart-releaser-action@v1.7.0 | |
| with: | |
| config: .github/chart-releaser.yml | |
| env: | |
| CR_TOKEN: "${{ secrets.GH_TOKEN }}" | |
| CR_SKIP_EXISTING: true |