chasenio/Update Image Tag (Helm & Kustomize)
Update container image tag (and optionally repository) inside Helm values.yaml or Kustomize kustomization.yaml files. Supports single file, multiple files, or a glob pattern. Optionally commits and pushes the change.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Path(s) or glob(s), newline/comma separated. | yes | — |
| image | Image reference to match / use. | yes | — |
| tag | New image tag. | yes | — |
| mode | auto | kustomize | helm. | no | auto |
| new-name | Optional new image name (kustomize newName / helm repository). | no | "" |
| helm-tag-path | yq path to tag field in Helm values. | no | .image.tag |
| helm-repository-path | yq path to repository field in Helm values. | no | .image.repository |
| update-repository | If true, also update repository/newName. | no | false |
| commit | If true, commit and push the change. | no | false |
| commit-message | Commit message. Default auto-generated. | no | "" |
| source-message | Source/upstream commit message to embed as the commit body (e.g. github.event.head_commit.message). | no | "" |
| branch | Branch to push to. Default: current. | no | "" |
| git-user | Git author in 'Name <email>' form. Defaults to gitops[bot]. | no | gitops[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
| yq-version | yq version to install when missing. | no | v4.44.3 |
| repository | GitOps repo to checkout (owner/name). Empty = use already-checked-out repo. | no | "" |
| ref | Branch/ref to checkout in the GitOps repo. | no | "" |
| token | Token used to checkout & push the GitOps repo. Defaults to github.token when empty. | no | "" |
Outputs
| name | description |
|---|---|
| updated-files | Newline-separated list of files that were actually changed. |
| changed | true if any file was changed. |