Skip to content

Commit 281a3e8

Browse files
committed
Review comments -> task run
1 parent 3ece647 commit 281a3e8

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

articles/container-registry/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@
187187
href: container-registry-tasks-cross-registry-authentication.md
188188
- name: External authentication using key vault
189189
href: container-registry-tasks-authentication-key-vault.md
190-
- name: Queue task with Resource Manager template
191-
href: container-registry-tasks-template.md
190+
- name: Quick task run with Resource Manager template
191+
href: container-registry-task-run-template.md
192192
- name: Build image with Buildpacks (preview)
193193
href: container-registry-tasks-pack-build.md
194194
- name: View task logs

articles/container-registry/container-registry-tasks-template.md renamed to articles/container-registry/container-registry-task-run-template.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Run task using template
3-
description: Run an ACR quick task using an Azure Resource Manager template
2+
title: Quick task run with template
3+
description: Queue an ACR task run to build an image using an Azure Resource Manager template
44
ms.topic: article
55
ms.date: 04/22/2020
66
---
@@ -11,24 +11,24 @@ ms.date: 04/22/2020
1111

1212
This article shows Azure Resource Manager template examples to queue a [quick task](container-registry-tasks-overview.md#quick-task), similar to one you can create manually using the [az acr build][az-acr-build] command.
1313

14-
A Resource Manager template to queue a task is useful in automation scenarios and extends the functionality of `az acr build`. For example:
14+
A Resource Manager template to queue a task run is useful in automation scenarios and extends the functionality of `az acr build`. For example:
1515

16-
* Use a template to create a container registry and immediately queue an ACR task to build and push a container image
17-
* Create or enable additional resources you can use in a quick task, such as a managed identity for Azure resources
16+
* Use a template to create a container registry and immediately queue a task run to build and push a container image
17+
* Create or enable additional resources you can use in a quick task run, such as a managed identity for Azure resources
1818

1919
## Limitations
2020

21-
* You must specify a remote context such as a GitHub repo as the [source location](container-registry-tasks-overview.md#context-locations) for your task. You can't use a local source context.
21+
* You must specify a remote context such as a GitHub repo as the [source location](container-registry-tasks-overview.md#context-locations) for your task run. You can't use a local source context.
2222
* For task runs using a managed identity, only a *user-assigned* managed identity is permitted.
2323

2424
## Prerequisites
2525

2626
* **GitHub account** - Create an account on https://github.com if you don't already have one.
2727
* **Fork sample repository** - For the task examples shown here, use the GitHub UI to fork the following sample repository into your GitHub account: https://github.com/Azure-Samples/acr-build-helloworld-node. This repo contains sample Dockerfiles and source code to build small container images.
2828

29-
## Example: Create registry and queue build task
29+
## Example: Create registry and queue task run
3030

31-
This example uses a [sample template](https://github.com/Azure/acr/tree/master/docs/tasks/run-as-deployment/quickdockerbuild) to create a container registry and queue a task that builds and pushes an image.
31+
This example uses a [sample template](https://github.com/Azure/acr/tree/master/docs/tasks/run-as-deployment/quickdockerbuild) to create a container registry and queue a task run that builds and pushes an image.
3232

3333
### Template parameters
3434

@@ -102,19 +102,21 @@ az acr task logs \
102102
--run-id ca1
103103
```
104104

105-
The output shows the task log.
105+
The output shows the task run log.
106106

107107
You can also view the task run log in the Azure portal.
108108

109109
1. Navigate to your container registry
110110
2. Under **Services**, select **Tasks** > **Runs**.
111111
3. Select the run ID, in this case *ca1*.
112112

113-
The portal shows the task log.
113+
The portal shows the task run log.
114114

115-
## Example: Queue task with managed identity
115+
## Example: Task run with managed identity
116116

117-
Use a [sample template](https://github.com/Azure/acr/tree/master/docs/tasks/run-as-deployment/quickdockerbuildwithidentity) to queue a task that enables a user-assigned managed identity. During the task run, the identity authenticates to pull an image from another Azure container registry. This scenario is similar to [Cross-registry authentication in an ACR task using an Azure-managed identity](container-registry-tasks-cross-registry-authentication.md). For example, an organization might maintain a centralized registry with base images accessed by multiple development teams.
117+
Use a [sample template](https://github.com/Azure/acr/tree/master/docs/tasks/run-as-deployment/quickdockerbuildwithidentity) to queue a task that enables a user-assigned managed identity. During the task run, the identity authenticates to pull an image from another Azure container registry.
118+
119+
This scenario is similar to [Cross-registry authentication in an ACR task using an Azure-managed identity](container-registry-tasks-cross-registry-authentication.md). For example, an organization might maintain a centralized registry with base images accessed by multiple development teams.
118120

119121
### Prepare base registry
120122

@@ -229,7 +231,7 @@ To view the run log, see steps in the [preceding section](#view-run-log).
229231
## Next steps
230232

231233
* See more template examples in the [ACR GitHub repo](https://github.com/Azure/acr/tree/master/docs/tasks/run-as-deployment).
232-
* For details about template properties, see the template reference for [Tasks](/azure/templates/microsoft.containerregistry/2019-06-01-preview/registries/tasks) and [Task runs](/azure/templates/microsoft.containerregistry/2019-06-01-preview/registries/taskruns).
234+
* For details about template properties, see the template reference for [Task runs](/azure/templates/microsoft.containerregistry/2019-06-01-preview/registries/taskruns) and [Tasks](/azure/templates/microsoft.containerregistry/2019-06-01-preview/registries/tasks).
233235

234236

235237
<!-- LINKS - Internal -->

0 commit comments

Comments
 (0)