11/12 free views
Tool
CLI
DevSecOps Tools

chart-releaser-action

by helm

617stars
217forks
10watchers
Updated 10 months ago
About

A GitHub Action that automates turning a GitHub project into a self-hosted Helm chart repository using the helm/chart-releaser CLI tool.

A GitHub Action to turn a GitHub project into a self-hosted Helm chart repo, using helm/chart-releaser CLI tool

Primary Use Case

This tool is primarily used by DevOps and DevSecOps teams to automate the packaging, indexing, and publishing of Helm charts directly from a GitHub repository. It simplifies managing Helm chart repositories by integrating with GitHub Actions workflows, enabling continuous delivery of Kubernetes Helm charts in a self-hosted manner.

Key Features
  • Automates packaging, indexing, and publishing of Helm charts
  • Supports custom charts directory configuration
  • Integrates with GitHub Pages for hosting charts
  • Allows skipping packaging or upload steps for advanced workflows
  • Supports marking releases as latest or not
  • Outputs released charts and chart versions for workflow use
  • Uses GitHub token for secure publishing
  • Configurable publishing branch (default: gh-pages)

Installation

  • Ensure your GitHub repo contains a directory with Helm charts (default is /charts)
  • Create a GitHub branch named gh-pages to store published charts
  • In GitHub repo Settings under Pages, set the source branch to gh-pages
  • Create a workflow YAML file in .github/workflows directory
  • Add the chart-releaser-action step in the workflow referencing the desired version
  • Set the CR_TOKEN environment variable to your GitHub token (e.g., ${{ secrets.GITHUB_TOKEN }})

Usage

>_ uses: helm/[email protected]

Runs the chart-releaser GitHub Action at version v1.7.0 to package, index, and publish Helm charts.

>_ env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

Sets the required GitHub token environment variable for authentication and publishing.

>_ skip_packaging: true

Input option to skip the packaging step, allowing custom packaging before the action runs.

>_ skip_upload: true

Input option to skip the upload step, useful for advanced uploading methods like OCI repositories.

>_ charts_dir: custom-charts

Input to specify a custom directory containing Helm charts instead of the default /charts.

Security Frameworks
TA0040
TA0042
TA0043
TA0007
TA0002
Usage Insights
  • Integrate this tool into CI/CD pipelines to automate secure Helm chart releases, reducing human error and improving deployment security.
  • Use the tool's ability to skip packaging or upload steps to incorporate advanced custom security scanning or signing workflows.
  • Combine with container scanning tools to ensure Helm charts reference only trusted container images before publishing.
  • Leverage the GitHub token for fine-grained access control and audit trail of Helm chart publishing activities.
  • Employ this tool in purple team exercises to simulate attacker attempts to tamper with Helm charts and test detection and prevention controls.

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about chart-releaser-action. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

This tool hasn't been indexed yet. Request indexing to enable AI chat.

Admin will review your request within 24 hours

Security Profile
Red Team30%
Blue Team70%
Purple Team60%
Details
LicenseApache License 2.0
LanguageShell
Open Issues102
Topics
kubernetes
helm
charts
ci-cd
actions
helm-repositories
github-pages