Add username
All checks were successful
Build and Publish Docker Image / test (push) Successful in 1m43s
Build and Publish Docker Image / build-and-push (push) Successful in 1m18s

This commit is contained in:
Andras Schmelczer 2026-08-08 21:32:27 +01:00
commit 07e582e2be
9 changed files with 358 additions and 192 deletions

View file

@ -296,10 +296,27 @@ fn choose_new_tag(
strategy: &UpdateStrategy,
) -> Option<String> {
let selector = create_selector(strategy);
let target =
selector.select_target_version(available_versions, current_prefix, current_suffix)?;
// Warn here rather than inside the selector: this is the innermost scope that
// knows *which* image was skipped, and a bare "no matching versions" line is
// undiagnosable in a run covering dozens of services.
let Some(target) = selector.select_target_version(
available_versions,
current_prefix.clone(),
current_suffix.clone(),
) else {
warn!(
"No {:?} candidate for {} (prefix {:?}, suffix {:?}) among {} parseable registry tags",
strategy,
image_ref,
current_prefix,
current_suffix,
available_versions.len()
);
return None;
};
if target.version <= *current_version {
debug!("{} is already at or above the target {}", image_ref, target);
return None;
}