Release Charts #23
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: "Release Charts" | |
on: "workflow_dispatch" | |
jobs: | |
release: | |
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]" | |
# Add depending repository for helm to avoid the error below. | |
# `Error: no repository definition for https://charts.jetstack.io` | |
# see: https://github.com/helm/chart-releaser-action/issues/74 | |
- name: "Add cert-manager repo for helm" | |
run: | | |
helm repo add cert-manager https://charts.jetstack.io | |
- name: "Run chart-releaser" | |
uses: helm/[email protected] | |
with: | |
config: ".cr.yaml" | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |