Skip to content

Commit 207f079

Browse files
authored
Merge pull request #126793 from emerconn/patch-1
`REGISTRATION_TOKEN_API_URL` env var used in GitHub, not ADO
2 parents a38f750 + a34f3f2 commit 207f079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/container-apps/tutorial-ci-cd-runners-jobs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,15 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
243243
GITHUB_PAT="<GITHUB_PAT>"
244244
REPO_OWNER="<REPO_OWNER>"
245245
REPO_NAME="<REPO_NAME>"
246+
REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
246247
```
247248
248249
# [PowerShell](#tab/powershell)
249250
```powershell
250251
$GITHUB_PAT="<GITHUB_PAT>"
251252
$REPO_OWNER="<REPO_OWNER>"
252253
$REPO_NAME="<REPO_NAME>"
254+
$REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
253255
```
254256
255257
---
@@ -261,6 +263,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
261263
| `<GITHUB_PAT>` | The GitHub PAT you generated. |
262264
| `<REPO_OWNER>` | The owner of the repository you created earlier. This value is usually your GitHub username. |
263265
| `<REPO_NAME>` | The name of the repository you created earlier. This value is the same name you entered in the *Repository name* field. |
266+
| `<YOUR_REGISTRATION_TOKEN_API_URL>` | The registration token API URL in the *entrypoint.sh* file. | For example, 'https://myapi.example.com/get-token' |
264267
265268
## Build the GitHub Actions runner container image
266269
@@ -647,15 +650,13 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
647650
AZP_TOKEN="<AZP_TOKEN>"
648651
ORGANIZATION_URL="<ORGANIZATION_URL>"
649652
AZP_POOL="container-apps"
650-
REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
651653
```
652654
653655
# [PowerShell](#tab/powershell)
654656
```powershell
655657
$AZP_TOKEN="<AZP_TOKEN>"
656658
$ORGANIZATION_URL="<ORGANIZATION_URL>"
657659
$AZP_POOL="container-apps"
658-
$REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
659660
```
660661
661662
---
@@ -666,7 +667,6 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
666667
|---|---|---|
667668
| `<AZP_TOKEN>` | The Azure DevOps PAT you generated. | |
668669
| `<ORGANIZATION_URL>` | The URL of your Azure DevOps organization. Make sure no trailing `/` is present at the end of the URL. | For example, `https://dev.azure.com/myorg` or `https://myorg.visualstudio.com`. |
669-
| `<YOUR_REGISTRATION_TOKEN_API_URL>` | The registration token API URL in the *entrypoint.sh* file. | For example, 'https://myapi.example.com/get-token' |
670670
671671
## Build the Azure Pipelines agent container image
672672

0 commit comments

Comments
 (0)