Observability - Helm chart releases (#63) #1
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: Main - Release Helm Charts - DNSMasqAKS | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
# Only run this when chart file is updated. | |
- 'deployment/helm/dnsmasqaks/Chart.yaml' | |
jobs: | |
Release-Artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Setup Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.9.2 | |
- name: Add Helm chart dependencies | |
run: | | |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | |
helm repo add grafana https://grafana.github.io/helm-charts | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
with: | |
charts_dir: deployment/helm |