Skip to content

Commit 8bc5d77

Browse files
authored
Merge pull request #99071 from Jamal8548/patch-3
It's master instead of main according to the documentation flow.
2 parents 13dbdad + b375abf commit 8bc5d77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ az acr task create \
5050
--registry $ACR_NAME \
5151
--name taskhelloworld \
5252
--image helloworld:{{.Run.ID}} \
53-
--context https://github.com/$GIT_USER/acr-build-helloworld-node.git#main \
53+
--context https://github.com/$GIT_USER/acr-build-helloworld-node.git#master \
5454
--file Dockerfile \
5555
--git-access-token $GIT_PAT
5656
```
@@ -80,7 +80,7 @@ Output from a successful [az acr task create][az-acr-task-create] command is sim
8080
"step": {
8181
"arguments": [],
8282
"baseImageDependencies": null,
83-
"contextPath": "https://github.com/gituser/acr-build-helloworld-node#main",
83+
"contextPath": "https://github.com/gituser/acr-build-helloworld-node#master",
8484
"dockerFilePath": "Dockerfile",
8585
"imageNames": [
8686
"helloworld:{{.Run.ID}}"
@@ -102,7 +102,7 @@ Output from a successful [az acr task create][az-acr-task-create] command is sim
102102
"name": "defaultSourceTriggerName",
103103
"sourceRepository": {
104104
"branch": "main",
105-
"repositoryUrl": "https://github.com/gituser/acr-build-helloworld-node#main",
105+
"repositoryUrl": "https://github.com/gituser/acr-build-helloworld-node#master",
106106
"sourceControlAuthProperties": null,
107107
"sourceControlType": "GitHub"
108108
},
@@ -192,7 +192,7 @@ Next, execute the following commands to create, commit, and push a new file to y
192192
echo "Hello World!" > hello.txt
193193
git add hello.txt
194194
git commit -m "Testing ACR Tasks"
195-
git push origin main
195+
git push origin master
196196
```
197197

198198
You may be asked to provide your GitHub credentials when you execute the `git push` command. Provide your GitHub username, and enter the personal access token (PAT) that you created earlier for the password.

0 commit comments

Comments
 (0)