az acr task
Manage a collection of steps for building, testing and OS & Framework patching container images using Azure Container Registries. Azure CLI reference
14 commands 30 options Its page in the Azure CLI reference
Commands
cancel-runCancel a specified run of an Azure Container Registry.createCreate a series of steps for building, testing and OS & Framework patching containers.credentialManage credentials for a task.deleteDelete a task from an Azure Container Registry.identityManaged Identities for Task.listList the tasks for an Azure Container Registry.list-runsList all of the executed runs for an Azure Container Registry, with the ability to filter by a specific Task.logsShow logs for a particular run.runManually trigger a task that might otherwise be waiting for git commits or base image update triggers.showGet the properties of a named task for an Azure Container Registry.show-runGet the properties of a specified run of an Azure Container Registry Task.timerManage timer triggers for a taskupdateUpdate a task for an Azure Container Registry.update-runPatch the run properties of an Azure Container Registry Task.Options
Show its 30 options
--agent-poolThe name of the agent pool.--argBuild argument in '--arg name[=value]' format.--assign-identityAssign managed identities to the task.--base-image-trigger-enabledIndicates whether the base image trigger is enabled.--base-image-trigger-nameThe name of the base image trigger.--base-image-trigger-typeThe type of the auto trigger for base image dependency updates.--commit-trigger-enabledIndicates whether the source control commit trigger is enabled.--context, -cThe full URL to the source code repository (Requires '.git' suffix for a github repo) or a remote tarball (e.g., 'http://server/context.tar.gz'), or the repository of an OCI artifact in an Azure container registry (e.g., 'oci://myregistry.azurecr.io/myartifact:mytag').--cpuThe CPU configuration in terms of number of cores required for the run.--file, -fRelative path of the the task/docker file to the source code root folder.--git-access-tokenThe access token used to access the source control provider.--image, -tThe name of the image.--is-system-taskIndicates whether the task resource is a system task.--log-templateThe repository and tag template for run log artifact using the format: 'log/repo:tag' (e.g., 'acr/logs:{{.Run.ID}}').--name, -nThe name of the task.--no-cacheIndicates whether the image cache is enabled.--no-pushIndicates whether the image built should be pushed to the registry.--pull-request-trigger-enabledIndicates whether the source control pull request trigger is enabled.--registry, -r--run-idThe unique run identifier.--scheduleSchedule for a timer trigger represented as a cron expression.--secret-argSecret build argument in '--secret-arg name[=value]' format.--set-secretSecret task value in '--set-secret name[=value]' format.--setTask value in '--set name[=value]' format.--source-trigger-nameThe name of the source trigger.--statusThe current status of task.--update-trigger-endpointThe full URL of the endpoint to receive base image update trigger notifications.--update-trigger-payload-typeIndicates whether to include metadata about the base image trigger in the payload alongwith the update trigger token, when a notification is sent.--valuesThe task values/parameters file path relative to the source context.--with-secure-propertiesIndicates whether the secure properties of a task should be returned.