Merge pull request #297 from RADAR-base/fix-radar-upload-network-policy #241
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 Helm Charts | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.9.0 | |
- name: Add Helm repos | |
run: | | |
helm repo add radar https://radar-base.github.io/radar-helm-charts | |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
config: .github/cr.yaml | |
charts_dir: charts | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Run chart-releaser -- external dependencies | |
uses: helm/[email protected] | |
with: | |
config: .github/cr.yaml | |
charts_dir: external | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |