DockerBuildStep Class
The Docker build step.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.TaskStepPropertiesDockerBuildStep
Constructor
DockerBuildStep(*, docker_file_path: str, context_path: Optional[str] = None, context_access_token: Optional[str] = None, image_names: Optional[List[str]] = None, is_push_enabled: Optional[bool] = True, no_cache: Optional[bool] = False, target: Optional[str] = None, arguments: Optional[List[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.Argument]] = None, **kwargs)
Variables
Required. The type of the step.Constant filled by server. Possible values include: "Docker", "FileTask", "EncodedTask".
- base_image_dependencies
- list[BaseImageDependency]
List of base image dependencies for a step.
- context_path
- str
The URL(absolute or relative) of the source context for the task step.
- context_access_token
- str
The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- is_push_enabled
- bool
The value of this property indicates whether the image built should be pushed to the registry or not.
- no_cache
- bool
The value of this property indicates whether the image cache is enabled or not.
- docker_file_path
- str
Required. The Docker file path relative to the source context.
- target
- str
The name of the target build stage for the docker build.
Feedback
Submit and view feedback for