The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Azure Container Registry Tasks Plugin

acrQuickTask: Queue an ACR Quick Task

  • azureCredentialsId
    • Type: String
  • resourceGroupName
    The resource group name that the app will be associated with.
    • Type: String
  • registryName
    The Azure Container Registry name, the built image will be pushed to.
    • Type: String
  • architecture (optional)
    The OS architecture.
    • Type: String
  • buildArgs (optional)
    Set build-time variables as docker build --build-arg.
      Array / List of Nested Object
    • key
      • Type: String
    • value
      • Type: String
    • secrecy
      • Type: boolean
  • dockerfile (optional)
    Relative path to the source control management(git path or local directory) for the Dockerfile.
    • Type: String
  • gitPath (optional)
    Relative path in the git repo's selected branch, which will be used as docker build path. Empty means root path in the git repo.
    • Type: String
  • gitRefspec (optional)
    • Type: String
  • gitRepo (optional)
    Git repo which contains source code and Dockerfile, which will be used to build image. Please use the URL with HTTP(S) protocol instead of SSH protocol Use https://PAT@github.com/user/repo.git for private repo.
    • Type: String
  • imageNames (optional)
    After Azure Container Registry finishes building image, it pushes the image to registry with tags provided. Single Built image can be pushed with multiple repositories and tags. If no image name provided, Azure Container Registry **WILL NOT** push any image to registry after building.
      Array / List of Nested Object
    • image
      • Type: String
  • local (optional)
    Build docker image from a local directory. This directory will be uploaded to Azure Container Registry. It also will be used as docker build path.
    • Type: String
  • noCache (optional)
    Do not use cache when building the image. Enable the no-cache flag when build as docker build --no-cache
    • Type: boolean
  • os (optional)
    The operating system type required for the run.
    • Type: String
  • sourceType (optional)
    • Type: String
  • tarball (optional)
    Files in a compressed archive on a remote web server. e.g.http://remoteserver/myapp.tar.gz
    • Type: String
  • timeout (optional)
    Maximum duration for a docker build to execute in seconds. Should be in 300 to 28800.
    • Type: int
  • variant (optional)
    Variant of the CPU.
    • Type: String

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.