Skip to content

Merge pull request #1 from discoverygarden/implementation #1

Merge pull request #1 from discoverygarden/implementation

Merge pull request #1 from discoverygarden/implementation #1

Workflow file for this run

# Helm Chart releasing workflow.
# Adapted from:
# - https://github.com/helm/chart-releaser-action?tab=readme-ov-file#example-workflow
# - https://github.com/discoverygarden/helm-charts/blob/main/.github/workflows/chart-releaser.yml
name: Release Charts
on:
push:
branches:
- main
paths:
- "dist/*/Chart.yaml"
jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: dist
packages_with_index: true