Skip to content

REGISTRATION_TOKEN_API_URL env var used in GitHub, not ADO #126793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions articles/container-apps/tutorial-ci-cd-runners-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,15 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
GITHUB_PAT="<GITHUB_PAT>"
REPO_OWNER="<REPO_OWNER>"
REPO_NAME="<REPO_NAME>"
REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
```

# [PowerShell](#tab/powershell)
```powershell
$GITHUB_PAT="<GITHUB_PAT>"
$REPO_OWNER="<REPO_OWNER>"
$REPO_NAME="<REPO_NAME>"
$REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
```

---
Expand All @@ -261,6 +263,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
| `<GITHUB_PAT>` | The GitHub PAT you generated. |
| `<REPO_OWNER>` | The owner of the repository you created earlier. This value is usually your GitHub username. |
| `<REPO_NAME>` | The name of the repository you created earlier. This value is the same name you entered in the *Repository name* field. |
| `<YOUR_REGISTRATION_TOKEN_API_URL>` | The registration token API URL in the *entrypoint.sh* file. | For example, 'https://myapi.example.com/get-token' |

## Build the GitHub Actions runner container image

Expand Down Expand Up @@ -647,15 +650,13 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
AZP_TOKEN="<AZP_TOKEN>"
ORGANIZATION_URL="<ORGANIZATION_URL>"
AZP_POOL="container-apps"
REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
```

# [PowerShell](#tab/powershell)
```powershell
$AZP_TOKEN="<AZP_TOKEN>"
$ORGANIZATION_URL="<ORGANIZATION_URL>"
$AZP_POOL="container-apps"
$REGISTRATION_TOKEN_API_URL="<YOUR_REGISTRATION_TOKEN_API_URL>"
```

---
Expand All @@ -666,7 +667,6 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
|---|---|---|
| `<AZP_TOKEN>` | The Azure DevOps PAT you generated. | |
| `<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`. |
| `<YOUR_REGISTRATION_TOKEN_API_URL>` | The registration token API URL in the *entrypoint.sh* file. | For example, 'https://myapi.example.com/get-token' |

## Build the Azure Pipelines agent container image

Expand Down