Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions recipe/src/recipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ pub struct Recipe {
pub description: String,

/// The base image from which to build the user's image.
#[serde(alias = "base-image")]
#[serde(rename = "base-image")]
pub base_image: String,

/// The version/tag of the base image.
#[serde(alias = "image-version")]
#[serde(rename = "image-version")]
pub image_version: Tag,

/// The version of `bluebuild` to install in the image
#[serde(alias = "blue-build-tag", skip_serializing_if = "Option::is_none")]
#[serde(rename = "blue-build-tag", skip_serializing_if = "Option::is_none")]
pub blue_build_tag: Option<MaybeVersion>,

/// Alternate tags to the `latest` tag to add to the image.
Expand All @@ -55,7 +55,7 @@ pub struct Recipe {
/// timestamp with no version (e.g. `20240429`).
///
/// Any user input will override the `latest` and timestamp tags.
#[serde(alias = "alt-tags", skip_serializing_if = "Option::is_none")]
#[serde(rename = "alt-tags", skip_serializing_if = "Option::is_none")]
#[builder(into)]
pub alt_tags: Option<Vec<Tag>>,

Expand Down
Loading