rusowyler/Run yq to update images and push result to another repository
Useful to push images updates to a master repository containing central manifests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| yq-version | YQ version to use. Check: https://github.com/mikefarah/yq/releases | yes | — |
| yaml-file | Path and file name to update. For example env/values.yaml | yes | — |
| yaml-path | Path of the yaml property. The input must begin with a . For example to update: image: tag: 1 Use: .image.tag | yes | — |
| yaml-value | The new value for yaml-path input | yes | — |
| user-email | Email for the git commit | yes | — |
| user-name | [Optional] Name for the git commit. Defaults to the destination username/organization name | no | "" |
| github-server | Github server | no | github.com |
| repository-username | Name of the destination username/organization. In https://github.com/kubernetes-sigs/kustomize is: kubernetes-sigs | yes | — |
| repository-name | Destination repository In https://github.com/kubernetes-sigs/kustomize is: kustomize | yes | — |
| branch | [Optional] set target branch name for the destination repository. Defaults to "main" | no | main |
| commit-message | [Optional] Commit message. ORIGIN_COMMIT, GITHUB_REF, YAML_FILE, YAML_PATH and YAML_VALUE are replaced by they values | no | New image for YAML_FILE, YAML_PATH:YAML_VALUE from ORIGIN_COMMIT |
Outputs
no outputs