feat: Add all linux platforms
This commit is contained in:
parent
de76312a38
commit
24a5c8d2b5
18 changed files with 185 additions and 78 deletions
|
|
@ -20,8 +20,7 @@ pub struct BuildOpts<'scope> {
|
|||
#[builder(into)]
|
||||
pub containerfile: Cow<'scope, Path>,
|
||||
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
|
||||
#[builder(default)]
|
||||
pub host_network: bool,
|
||||
|
|
@ -102,8 +101,7 @@ pub struct BuildTagPushOpts<'scope> {
|
|||
pub squash: bool,
|
||||
|
||||
/// The platform to build the image on.
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
|
||||
/// Runs the build with elevated privileges
|
||||
#[builder(default)]
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ pub struct GenerateTagsOpts<'scope> {
|
|||
#[builder(into)]
|
||||
pub alt_tags: Option<Vec<Cow<'scope, str>>>,
|
||||
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Builder)]
|
||||
|
|
|
|||
|
|
@ -9,6 +9,5 @@ pub struct GetMetadataOpts<'scope> {
|
|||
#[builder(into)]
|
||||
pub image: &'scope Reference,
|
||||
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ pub struct RechunkOpts<'scope> {
|
|||
#[builder(into)]
|
||||
pub containerfile: Cow<'scope, Path>,
|
||||
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
pub version: Cow<'scope, str>,
|
||||
pub name: Cow<'scope, str>,
|
||||
pub description: Cow<'scope, str>,
|
||||
|
|
|
|||
|
|
@ -114,6 +114,5 @@ pub struct SignVerifyOpts<'scope> {
|
|||
#[builder(default = 1)]
|
||||
pub retry_count: u8,
|
||||
|
||||
#[builder(default)]
|
||||
pub platform: Platform,
|
||||
pub platform: Option<Platform>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue