Skip to content

Commit a191a8b

Browse files
committed
[ACR] Git contexts for tasks
1 parent eac9d2f commit a191a8b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

articles/container-registry/container-registry-tasks-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ The following table shows a few examples of supported context locations for ACR
111111
| Context location | Description | Example |
112112
| ---------------- | ----------- | ------- |
113113
| Local filesystem | Files within a directory on the local filesystem. | `/home/user/projects/myapp` |
114-
| GitHub master branch | Files within the master (or other default) branch of a GitHub repository. | `https://github.com/gituser/myapp-repo.git` |
115-
| GitHub branch | Specific branch of a GitHub repo.| `https://github.com/gituser/myapp-repo.git#mybranch` |
116-
| GitHub subfolder | Files within a subfolder in a GitHub repo. Example shows combination of a branch and subfolder specification. | `https://github.com/gituser/myapp-repo.git#mybranch:myfolder` |
114+
| GitHub master branch | Files within the master (or other default) branch of a public or private GitHub repository. | `https://github.com/gituser/myapp-repo.git` |
115+
| GitHub branch | Specific branch of a public or private GitHub repo.| `https://github.com/gituser/myapp-repo.git#mybranch` |
116+
| GitHub subfolder | Files within a subfolder in a public or private GitHub repo. Example shows combination of a branch and subfolder specification. | `https://github.com/gituser/myapp-repo.git#mybranch:myfolder` |
117117
| Azure DevOps subfolder | Files within a subfolder in an Azure repo. Example shows combination of branch and subfolder specification. | `https://dev.azure.com/user/myproject/_git/myapp-repo#mybranch:myfolder` |
118118
| Remote tarball | Files in a compressed archive on a remote webserver. | `http://remoteserver/myapp.tar.gz` |
119119

articles/container-registry/container-registry-tutorial-build-task.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ ms.custom: "seodec18, mvc"
1010

1111
# Tutorial: Automate container image builds in the cloud when you commit source code
1212

13-
In addition to a [quick task](container-registry-tutorial-quick-task.md), ACR Tasks supports automated Docker container image builds in the cloud when you commit source code to a Git repository.
13+
In addition to a [quick task](container-registry-tutorial-quick-task.md), ACR Tasks supports automated Docker container image builds in the cloud when you commit source code to a Git repository. Supported Git contexts for ACR Tasks include public or private GitHub or Azure repos.
14+
15+
> [!NOTE]
16+
> Currently GitHub Enterprise repos aren't supported contexts for ACR Tasks.
1417
1518
In this tutorial, your ACR task builds and pushes a single container image specified in a Dockerfile when you commit source code to a Git repo. To create a [multi-step task](container-registry-tasks-multi-step.md) that uses a YAML file to define steps to build, push, and optionally test multiple containers on code commit, see [Tutorial: Run a multi-step container workflow in the cloud when you commit source code](container-registry-tutorial-multistep-task.md). For an overview of ACR Tasks, see [Automate OS and framework patching with ACR Tasks](container-registry-tasks-overview.md)
1619

0 commit comments

Comments
 (0)