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.v2018_02_01_preview.models._models_py3.BuildStepPropertiesDockerBuildStep
Constructor
DockerBuildStep(*, branch: str | None = None, image_names: List[str] | None = None, is_push_enabled: bool = True, no_cache: bool = False, docker_file_path: str | None = None, context_path: str | None = None, build_arguments: List[_models.BuildArgument] | None = None, base_image_trigger: str | _models.BaseImageTriggerType | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
branch
|
The repository branch name. |
image_names
|
The fully qualified image names including the repository and tag. |
is_push_enabled
|
The value of this property indicates whether the image built should be pushed to the registry or not. Default value: True
|
no_cache
|
The value of this property indicates whether the image cache is enabled or not. |
docker_file_path
|
The Docker file path relative to the source control root. |
context_path
|
The relative context path for a docker build in the source. |
build_arguments
|
The custom arguments for building this build step. |
base_image_trigger
|
The type of the auto trigger for base image dependency updates. Known values are: "All", "Runtime", and "None". |
Variables
Name | Description |
---|---|
provisioning_state
|
The provisioning state of the build step. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". |
type
|
str or
BuildStepType
The type of the step. Required. "Docker" |
branch
|
The repository branch name. |
image_names
|
The fully qualified image names including the repository and tag. |
is_push_enabled
|
The value of this property indicates whether the image built should be pushed to the registry or not. |
no_cache
|
The value of this property indicates whether the image cache is enabled or not. |
docker_file_path
|
The Docker file path relative to the source control root. |
context_path
|
The relative context path for a docker build in the source. |
build_arguments
|
The custom arguments for building this build step. |
base_image_dependencies
|
List of base image dependencies for a step. |
base_image_trigger
|
The type of the auto trigger for base image dependency updates. Known values are: "All", "Runtime", and "None". |
Azure SDK for Python