Merge pull request #15 from deepgram/brent-george/autoscaling #27
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 "robot@deepgram.com" | |
git config --global user.name "Deepgram CI" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GH_SELFHOSTEDRESOURCES_RW }}" | |
- name: Add NVIDIA Helm chart repository | |
run: | | |
helm repo add nvidia https://helm.ngc.nvidia.com/nvidia | |
helm repo update | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.6.0 | |
env: | |
CR_TOKEN: "${{ secrets.GH_SELFHOSTEDRESOURCES_RW }}" |