Skip to content
package

GitHub Action

Helm Publish Action

1.1.0 Latest version

Helm Publish Action

package

Helm Publish Action

Github Action to simplify Helm Chart publish into a Registry

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Helm Publish Action

uses: huggingface/[email protected]

Learn more about this action in huggingface/helm-publish-action

Choose a version

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