Action to release a Helm chart to OCI registry
- uses: hoverkraft-tech/ci-github-container@0.20.2
with:
# Description: OCI registry where to push chart. See
# <https://github.com/appany/helm-oci-chart-releaser#usage>.
#
# Default: ghcr.io
oci-registry: ""
# Description: OCI registry username. See
# <https://github.com/appany/helm-oci-chart-releaser#usage>.
#
# Default: $
oci-registry-username: ""
# Description: OCI registry password. See
# <https://github.com/appany/helm-oci-chart-releaser#usage>.
#
# Default: $
oci-registry-password: ""
# Description: Chart name to release
#
chart: ""
# Description: Path to the chart to release
#
path: ""
# Description: Define charts values to be filled. Format:
# `[{ file, path, value }]`. Example: [ { "file":
# "charts/application/charts/api/values.yaml", "path": ".image.registry", "value":
# "ghcr.io" } ]. See <https://mikefarah.gitbook.io/yq/>
#
values: ""
# Description: List of Helm repositories to add before release charts. See
# <https://helm.sh/docs/helm/helm_repo_add/>.
#
helm-repositories: ""
# Description: The release tag to set to chart
#
tag: ""
This action requires the following permissions on the repository:
contents: read
: to read the chart filespackages: write
: to publish the chart to the OCI registry (required for GitHub Package registry only)Input | Description | Default | Required |
---|---|---|---|
oci-registry |
OCI registry where to push chart. See https://github.com/appany/helm-oci-chart-releaser#usage. |
ghcr.io |
true |
oci-registry-username |
OCI registry username. See https://github.com/appany/helm-oci-chart-releaser#usage. |
$ |
true |
oci-registry-password |
OCI registry password. See https://github.com/appany/helm-oci-chart-releaser#usage. |
$ |
true |
chart |
Chart name to release | true | |
path |
Path to the chart to release | true | |
values |
Define charts values to be filled. Format: [{ file, path, value }] .Example: [ { “file”: “charts/application/charts/api/values.yaml”, “path”: “.image.registry”, “value”: “ghcr.io” } ]. See https://mikefarah.gitbook.io/yq/ |
false | |
helm-repositories |
List of Helm repositories to add before release charts. See https://helm.sh/docs/helm/helm_repo_add/. |
false | |
tag |
The release tag to set to chart | true |
Output | Description |
---|---|
image |
Chart image (Default ‘{registry}/{repository}/{image}:{tag}’). See https://github.com/appany/helm-oci-chart-releaser. |