diff --git a/src/module_recipe.rs b/src/module_recipe.rs index cd90d7f..fa7a5ac 100644 --- a/src/module_recipe.rs +++ b/src/module_recipe.rs @@ -15,7 +15,7 @@ pub struct Recipe { pub base_image: String, #[serde(alias = "image-version")] - pub image_version: u16, + pub image_version: String, pub modules: Vec, @@ -31,7 +31,7 @@ impl Recipe { trace!("Recipe::generate_tags()"); let mut tags: Vec = Vec::new(); - let image_version = self.image_version; + let image_version = &self.image_version; let timestamp = Local::now().format("%Y%m%d").to_string(); if let (Ok(commit_branch), Ok(default_branch), Ok(commit_sha), Ok(pipeline_source)) = (