BuildahImageBuildSettings Class

Summary

Settings for Buildah build [OPTIONS] PATH | URL | -. Build an image from a Dockerfile.
Assembly
Cake.Buildah.dll
Namespace
Cake.Buildah
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Buildah/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["BuildahImageBuildSettings"] class Type type-node

Syntax

public sealed class BuildahImageBuildSettings : AutoToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
BuildArg string[]
Gets or sets --build-arg. Set build-time variables.
CacheFrom string[]
Gets or sets --cache-from. default: Images to consider as cache sources.
DisableContentTrust Nullable<bool>
Gets or sets --disable-content-trust. default: true. Skip image verification.
File string
Gets or sets --file, -f. Name of the Buildahfile (Default is 'PATH/Dockerfile').
NoCache Nullable<bool>
Gets or sets --no-cache. default: false. Do not use cache when building the image.
Platform string
Gets or sets --platform. Set platform if server is multi-platform capable.
Tag string[]
Gets or sets --tag, -t. Name and optionally a tag in the 'name:tag' format.

Extension Methods

Name Value Summary
Dump<BuildahImageBuildSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BuildahImageBuildSettings>(BuildahImageBuildSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BuildahImageBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BuildahImageBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BuildahImageBuildSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BuildahImageBuildSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin