somaz94/Image Tag Updater

Updates a specific image tag in a specified file within a target directory.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
target_pathDirectory path where the values file is locatedyes
tag_stringThe tag string to match for updating the image tagnotag
new_tagThe new image tag to replace the current oneyes
target_values_fileThe name of the values file to updateno
github_tokenGitHub token for pushing the updated fileyes
commit_messageCommit message for the updatenoUpdate image tag in
branchBranch where changes should be committednomain
git_user_nameGit user.name for commitsnoGitHub Action
git_user_emailGit user.email for commitsnoactions@github.com
backupWhether to create a backup file (true/false)nofalse
repoGit repository for commitsyes
file_patternFile pattern to match multiple files (e.g., "*.values.yaml")no""
dry_runRun in dry-run mode without making actual changesnofalse
debugRun in debug modenofalse
tag_prefixPrefix to add to the new tag (e.g., "v", "release-")no""
tag_suffixSuffix to add to the new tag (e.g., "-prod", "-staging")no""
update_if_containsOnly update if current tag contains this string (e.g., "v1.", "dev")no""
skip_if_containsSkip update if current tag contains this string (e.g., "latest", "prod")no""
summary_filePath to save change summary JSON file (e.g., ".github/image-updates.json")no""
namedescription
files_updatedNumber of files updated
updated_filesComma-separated list of updated file paths
old_tagsComma-separated list of previous tag values
new_tag_appliedThe final tag value that was applied (with prefix/suffix)
changes_madeWhether any changes were made (true/false)
commit_shaSHA of the created commit (empty if dry run or no changes)
commit_sha_shortShort SHA (7 chars) of the created commit (empty if dry run or no changes)