DockerBuildXBakeSettings Class

Summary

Settings for docker buildx bake.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Docker/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["DockerBuildXBakeSettings"] class Type type-node

Syntax

public sealed class DockerBuildXBakeSettings : AutoToolSettings

Constructors

Fields

Name Constant Value Summary
SecretProperties
Values of these properties shouldn't be displayed in the output.
Inherited from AutoToolSettings

Properties

Name Value Summary
Builder string
Override the configured builder instance
File string[]
Build definition file
Load bool
Shorthand for "--set=*.output=type=docker"
MetadataFile string
Write build result metadata to the file
NoCache bool
Do not use cache when building the image
Print bool
Print the options without building
Progress string
Set type of progress output ("auto", "plain", "tty"). Use plain to show container output (default "auto")
Pull bool
Always attempt to pull all referenced images
Push bool
Shorthand for "--set=*.output=type=registry"
Set string[]
Override target value (e.g., "targetpattern.key=value")

Methods

Name Value Summary
CollectSecretProperties() string[]
Collects secret properties.
Inherited from AutoToolSettings

Extension Methods

Name Value Summary
Dump<DockerBuildXBakeSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DockerBuildXBakeSettings>(DockerBuildXBakeSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DockerBuildXBakeSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DockerBuildXBakeSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<DockerBuildXBakeSettings>(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<DockerBuildXBakeSettings>(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
Requires the Cake.Issues addin