Helm Charts #30
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: Helm Charts | |
on: | |
workflow_run: | |
workflows: | |
- "Test Chart" | |
branches: | |
- main | |
types: | |
- completed | |
jobs: | |
release: | |
name: Publish Helm Chart | |
runs-on: ubuntu-latest | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
permissions: | |
contents: write | |
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/[email protected] | |
with: | |
config: cr-config.yaml | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |