다음을 통해 공유


ArmContainerRegistryModelFactory.ContainerRegistryDockerBuildStep Method

Definition

Initializes a new instance of ContainerRegistryDockerBuildStep.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryDockerBuildStep ContainerRegistryDockerBuildStep (System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependency> baseImageDependencies = default, string contextPath = default, string contextAccessToken = default, System.Collections.Generic.IEnumerable<string> imageNames = default, bool? isPushEnabled = default, bool? noCache = default, string dockerFilePath = default, string target = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunArgument> arguments = default);
static member ContainerRegistryDockerBuildStep : seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependency> * string * string * seq<string> * Nullable<bool> * Nullable<bool> * string * string * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunArgument> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryDockerBuildStep
Public Shared Function ContainerRegistryDockerBuildStep (Optional baseImageDependencies As IEnumerable(Of ContainerRegistryBaseImageDependency) = Nothing, Optional contextPath As String = Nothing, Optional contextAccessToken As String = Nothing, Optional imageNames As IEnumerable(Of String) = Nothing, Optional isPushEnabled As Nullable(Of Boolean) = Nothing, Optional noCache As Nullable(Of Boolean) = Nothing, Optional dockerFilePath As String = Nothing, Optional target As String = Nothing, Optional arguments As IEnumerable(Of ContainerRegistryRunArgument) = Nothing) As ContainerRegistryDockerBuildStep

Parameters

baseImageDependencies
IEnumerable<ContainerRegistryBaseImageDependency>

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
IEnumerable<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.

dockerFilePath
String

The Docker file path relative to the source context.

target
String

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

arguments
IEnumerable<ContainerRegistryRunArgument>

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

Returns

A new ContainerRegistryDockerBuildStep instance for mocking.

Applies to