June 2024 release (240627) (#21) #33
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 Chart | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: "${{ secrets.GH_SELFHOSTEDRESOURCES_RW }}" | |
- name: Configure Git | |
run: | | |
# Give CI a git identity for its commit message | |
git config --global user.email "[email protected]" | |
git config --global user.name "Deepgram CI" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GH_SELFHOSTEDRESOURCES_RW }}" | |
- name: Add Helm chart repositories for chart dependencies | |
run: | | |
helm repo add nvidia https://helm.ngc.nvidia.com/nvidia | |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | |
helm repo add autoscaler https://kubernetes.github.io/autoscaler | |
helm repo update | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GH_SELFHOSTEDRESOURCES_RW }}" |