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: Optional[str] = None, image_names: Optional[List[str]] = None, is_push_enabled: Optional[bool] = True, no_cache: Optional[bool] = False, docker_file_path: Optional[str] = None, context_path: Optional[str] = None, build_arguments: Optional[List[azure.mgmt.containerregistry.v2018_02_01_preview.models._models_py3.BuildArgument]] = None, base_image_trigger: Optional[Union[str, azure.mgmt.containerregistry.v2018_02_01_preview.models._container_registry_management_client_enums.BaseImageTriggerType]] = None, **kwargs)
Variables
- provisioning_state
- str or ProvisioningState
The provisioning state of the build step. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled".
- type
- str or BuildStepType
Required. The type of the step.Constant filled by server. Possible values include: "Docker".
- branch
- str
The repository branch name.
- 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
The Docker file path relative to the source control root.
- context_path
- str
The relative context path for a docker build in the source.
- build_arguments
- list[BuildArgument]
The custom arguments for building this build step.
- base_image_dependencies
- list[BaseImageDependency]
List of base image dependencies for a step.
- base_image_trigger
- str or BaseImageTriggerType
The type of the auto trigger for base image dependency updates. Possible values include: "All", "Runtime", "None".
Feedback
Submit and view feedback for