This Action automatically updates the Chart.yaml file of a Helm chart.
- Automatically updates the version in the
Chart.yamlfile. - Supports specifying the application version.
- Allows customization of the path to the
Chart.yamlfile.
| Name | Description | Required | Default |
|---|---|---|---|
chart-version |
The version of the Helm chart. | Yes | N/A |
chart-yaml-path |
The path to the Chart.yaml file. |
Yes | N/A |
Below is an example of how to use this action in a GitHub Actions workflow:
name: Update Helm Chart Version
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update-chart:
runs-on: ubuntu-latest
steps:
- name: Change Helm Chart.yaml
uses: Netcracker/qubership-workflow-hub/actions/chart-version@main
with:
chart-version: "1.2.3"
chart-yaml-path: "./path/to/Chart.yaml"