Files
wiki/.github/workflows/helm.yml
T
Nicolas Giard 4f3917ff22 ci(helm): fix chart versioning
Updated Helm chart versioning to use dynamic version from Chart.yaml.
2026-02-22 00:13:49 -05:00

28 lines
906 B
YAML

name: Helm Chart CI
on:
# Triggers the workflow on push or pull request events but only for the dev branch
push:
branches: [ main ]
paths: [ dev/helm/** ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Update Chart
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v6
- name: Package and Push Chart
run: |
export CHARTVER=$(yq '.version' dev/helm/Chart.yaml)
helm plugin install https://github.com/chartmuseum/helm-push.git
helm repo add chartmuseum https://charts.js.wiki
helm cm-push --version="$CHARTVER" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum
helm repo remove chartmuseum