GitHub Action
Helm Publish Action
1.1.0
Latest version
Github Action to simplify Helm Chart publish into a registry.
See action.yml
- name: Helm Publish Action
uses: huggingface/helm-publish-action@latest
with:
workingDirectory: charts
repository: https://registry.your-domain.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
beforeHook: cd subcharts/my-sub-chart && helm dependencies update
If your registry is only accessible on a private network, and you use Tailscale, you can pass your tailscale Key to the action.
- name: Helm Publish Action
uses: huggingface/helm-publish-action@latest
with:
tailscaleKey: ${{ secrets.TAILSCALE_AUTHKEY }}
If you need to execute a command before to publish, pass it via beforeHook
argument.
This hook is usefully if you have subchart inside your Chart and you want update it before to publish your parent chart.
- name: Helm Publish Action
uses: huggingface/helm-publish-action@latest
with:
beforeHook: cd subcharts/my-sub-chart && helm dependencies update