diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml new file mode 100644 index 0000000..ba970ea --- /dev/null +++ b/.github/workflows/release-chart.yaml @@ -0,0 +1,39 @@ +name: Release helm + +on: + workflow_dispatch: + push: + tags: + - v* + +jobs: + helm-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 "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v4 + with: + version: v3.7.1 + + - name: Add repos + run: | + helm repo add nvidia https://nvidia.github.io/dcgm-exporter/helm-charts + helm repo add prometheus https://prometheus-community.github.io/helm-charts + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + with: + charts_dir: charts + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + diff --git a/charts/hami-webui/Chart.yaml b/charts/hami-webui/Chart.yaml index 70c3a69..096311c 100644 --- a/charts/hami-webui/Chart.yaml +++ b/charts/hami-webui/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 1.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,4 +31,4 @@ dependencies: - condition: kube-prometheus-stack.enabled name: kube-prometheus-stack repository: https://prometheus-community.github.io/helm-charts - version: 62.6.0 \ No newline at end of file + version: 62.6.0