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 : String
resourceGroupName : String
The resource group name that the app will be associated with.
registryName : String
The Azure Container Registry name, the built image will be pushed to.
architecture : String
(optional)
buildArgs
(optional)
Set build-time variables as docker build --build-arg
.
Array / List of Nested Object
key : String
value : String
secrecy : boolean
dockerfile : String
(optional)
Relative path to the source control management(git path or local directory) for the Dockerfile.
gitPath : String
(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.
gitRefspec : String
(optional)
gitRepo : String
(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.
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 : String
local : String
(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.
noCache : boolean
(optional)
Do not use cache when building the image. Enable the no-cache
flag when build as docker build --no-cache
os : String
(optional)
The operating system type required for the run.
sourceType : String
(optional)
tarball : String
(optional)
Files in a compressed archive on a remote web server. e.g.http://remoteserver/myapp.tar.gz
timeout : int
(optional)
Maximum duration for a docker build to execute in seconds. Should be in 300 to 28800.
variant : String
(optional)
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.