Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

Helm Push

v2

Helm Push

upload-cloud

Helm Push

Pushes a local chart to a ChartMusem or OCI compatible registry. Supports token based auth and Chart.yaml version override

Installation

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

              

- name: Helm Push

uses: bsord/helm-push@v2

Learn more about this action in bsord/helm-push

Choose a version

Helm Push

Build GitHub last commit License PRs Welcome

Push a chart to a ChartMuseum compatible repository with Helm v3

Usage

Using Token Auth:

steps:
  - name: Push Helm Chart to ChartMuseum
    uses: bsord/helm-push@v1
    with:
      access-token: ${{ secrets.HELM_API_KEY }}
      repository-url: 'https://h.cfcr.io/user_or_org/reponame'
      force: true
      chart-folder: chart

Using Password Auth:

steps:
  - name: Push Helm Chart to ChartMuseum
    uses: bsord/helm-push@v1
    with:
      username: ${{ secrets.HELM_USERNAME }}
      password: ${{ secrets.HELM_PASSWORD }}
      repository-url: 'https://h.cfcr.io/user_or_org/reponame'
      force: true
      chart-folder: chart

Parameters

Key Value Required Default
access-token API Token from CodeFresh with Helm read/write permissions Yes (if using token auth) ""
username Username for repository Yes (if using pw auth) ""
password Password for repository Yes (if using pw auth) ""
repository-url ChartMuseum repository url Yes ""
chart-folder Relative path to chart folder to be published No chart
force Force overwrite if version already exists No false

License

This project is distributed under the MIT license.