Udostępnij za pośrednictwem


DockerBuildStep Class

Definition

The Docker build step.

[Newtonsoft.Json.JsonObject("Docker")]
public class DockerBuildStep : Microsoft.Azure.Management.ContainerRegistry.Models.TaskStepProperties
[<Newtonsoft.Json.JsonObject("Docker")>]
type DockerBuildStep = class
    inherit TaskStepProperties
Public Class DockerBuildStep
Inherits TaskStepProperties
Inheritance
DockerBuildStep
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

Arguments

Gets or sets the collection of override arguments to be used when executing this build step.

BaseImageDependencies

Gets list of base image dependencies for a step.

(Inherited from TaskStepProperties)
ContextAccessToken

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

(Inherited from TaskStepProperties)
ContextPath

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

(Inherited from TaskStepProperties)
DockerFilePath

Gets or sets the Docker file path relative to the source context.

ImageNames

Gets or sets the fully qualified image names including the repository and tag.

IsPushEnabled

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

NoCache

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

Target

Gets or sets the name of the target build stage for the docker build.

Methods

Validate()

Validate the object.

Applies to