Udostępnij za pośrednictwem


DockerBuildStep Constructors

Definition

Overloads

DockerBuildStep()

Initializes a new instance of the DockerBuildStep class.

DockerBuildStep(String, IList<BaseImageDependency>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>)

Initializes a new instance of the DockerBuildStep class.

DockerBuildStep()

Initializes a new instance of the DockerBuildStep class.

public DockerBuildStep ();
Public Sub New ()

Applies to

DockerBuildStep(String, IList<BaseImageDependency>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>)

Initializes a new instance of the DockerBuildStep class.

public DockerBuildStep (string dockerFilePath, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.BaseImageDependency> baseImageDependencies = default, string contextPath = default, string contextAccessToken = default, System.Collections.Generic.IList<string> imageNames = default, bool? isPushEnabled = default, bool? noCache = default, string target = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> arguments = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildStep : string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.BaseImageDependency> * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> -> Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildStep
Public Sub New (dockerFilePath As String, Optional baseImageDependencies As IList(Of BaseImageDependency) = Nothing, Optional contextPath As String = Nothing, Optional contextAccessToken As String = Nothing, Optional imageNames As IList(Of String) = Nothing, Optional isPushEnabled As Nullable(Of Boolean) = Nothing, Optional noCache As Nullable(Of Boolean) = Nothing, Optional target As String = Nothing, Optional arguments As IList(Of Argument) = Nothing)

Parameters

dockerFilePath
String

The Docker file path relative to the source context.

baseImageDependencies
IList<BaseImageDependency>

List of base image dependencies for a step.

contextPath
String

The URL(absolute or relative) of the source context for the task step.

contextAccessToken
String

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

imageNames
IList<String>

The fully qualified image names including the repository and tag.

isPushEnabled
Nullable<Boolean>

The value of this property indicates whether the image built should be pushed to the registry or not.

noCache
Nullable<Boolean>

The value of this property indicates whether the image cache is enabled or not.

target
String

The name of the target build stage for the docker build.

arguments
IList<Argument>

The collection of override arguments to be used when executing this build step.

Applies to