Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.4 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.4 KB

HELM PUBLISH ACTION

Version License

Github Action to simplify Helm Chart publish into a registry.

Usage

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

Use Tailscale VPN

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 }}

Before hook

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