diff --git a/backend/crates/domain/src/image.rs b/backend/crates/domain/src/image.rs index 64af999..1367e08 100644 --- a/backend/crates/domain/src/image.rs +++ b/backend/crates/domain/src/image.rs @@ -7,6 +7,8 @@ pub struct ImageRef { pub registry: String, pub repository: String, pub tag: String, + /// The name exactly as it was written, so a suggestion keeps the original spelling. + pub name: String, } impl ImageRef { @@ -34,6 +36,7 @@ impl ImageRef { registry, repository, tag, + name: head.to_string(), }) }