Microsoft.ContainerRegistry registries/buildTasks/steps 2018-02-01-preview

The registries/buildTasks/steps resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.ContainerRegistry/registries/buildTasks/steps resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ContainerRegistry/registries/buildTasks/steps@2018-02-01-preview' = {
  name: 'string'
  properties: {
    type: 'string'
    // For remaining properties, see BuildStepProperties objects

BuildStepProperties objects

Set the type property to specify the type of object.

For Docker, use:

  type: 'Docker'
  baseImageTrigger: 'string'
  branch: 'string'
  buildArguments: [
      isSecret: bool
      name: 'string'
      type: 'DockerBuildArgument'
      value: 'string'
  contextPath: 'string'
  dockerFilePath: 'string'
  imageNames: [ 'string' ]
  isPushEnabled: bool
  noCache: bool

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Base properties for any build step. BuildStepProperties


Name Description Value
type Set the object type Docker


Name Description Value
type The type of the step. 'Docker'
baseImageTrigger The type of the auto trigger for base image dependency updates. 'All'
branch The repository branch name. string
buildArguments The custom arguments for building this build step. BuildArgument[]
contextPath The relative context path for a docker build in the source. string
dockerFilePath The Docker file path relative to the source control root. string
imageNames The fully qualified image names including the repository and tag. string[]
isPushEnabled The value of this property indicates whether the image built should be pushed to the registry or not. bool
noCache The value of this property indicates whether the image cache is enabled or not. bool


Name Description Value
isSecret Flag to indicate whether the argument represents a secret and want to be removed from build logs. bool
name The name of the argument. string (required)
type The type of the argument. 'DockerBuildArgument'
value The value of the argument. string (required)