Merge pull request #89 from cfis/penguin #47
This file contains 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: Publish helm chart | |
on: | |
push: | |
branches: | |
- master | |
- main # assume that the branch name may change in future | |
paths: | |
- 'charts/**' | |
- '.github/**' | |
workflow_dispatch: | |
jobs: | |
publish-chart: | |
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]" | |
# We need cert-manager already installed in the cluster because we assume the CRDs exist | |
- name: Add haproxy repo | |
run: | | |
helm repo add haprox https://haproxytech.github.io/helm-charts --force-update | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |