@outcome-co/semantic-release-helm v1.0.2
semantic-release-helm-js
This is a plugin for semantic-release. It updates version
and appVersion
of a Helm chart's
Chart.yaml.
The version
and appVersion
are set to nextRelease.version
.
Configuration
chartPath (required) - string Chart directory, where the Chart.yaml is located.
registry (optional) - string
URI of a container registry.onlyUpdateVersion (optional) - boolean (default: false)
Don't changeappVersion
if this is true. Useful if your chart is in a different git repo than the application.
Pass credentials through environment variables accordingly:
export REGISTRY_USERNAME=<USERNAME>
export REGISTRY_PASSWORD=<PASSWORD>
Example
This will update version
and appVersion
in ./chart/Chart.yaml
and push the chart to localhost:5000/repo/chart
. The image will be tagged with the value of version
from
Chart.yaml.
{
"plugins": [
[
"semantic-release-helm",
{
chartPath: './chart',
registry: 'localhost:5000/repo/chart'
}
]
]
}
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago