Build.Target Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the target build stage to be used from a multi-stage Dockerfile. This property allows defining a specific target stage name, enabling partial builds and optimizing the build process by selecting only the required build stage.
[YamlDotNet.Serialization.YamlMember(Alias="target")]
public string? Target { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="target")>]
member this.Target : string with get, set
Public Property Target As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute