Skip to content

Commit cf2269a

Browse files
authored
Update tutorial-ci-cd-runners-jobs.md
1 parent 80a221e commit cf2269a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ You can now create a job that uses to use the container image. In this section,
406406
--cpu "2.0" \
407407
--memory "4Gi" \
408408
--secrets "personal-access-token=$GITHUB_PAT" \
409-
--env-vars "GITHUB_PAT=secretref:personal-access-token" "REPO_URL=https://github.com/$REPO_OWNER/$REPO_NAME" "REGISTRATION_TOKEN_API_URL=https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/actions/runners/registration-token" \
409+
--env-vars "GITHUB_PAT=secretref:personal-access-token" "GH_URL=https://github.com/$REPO_OWNER/$REPO_NAME" "REGISTRATION_TOKEN_API_URL=https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/actions/runners/registration-token" \
410410
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
411411
```
412412
@@ -429,7 +429,7 @@ You can now create a job that uses to use the container image. In this section,
429429
--cpu "2.0" `
430430
--memory "4Gi" `
431431
--secrets "personal-access-token=$GITHUB_PAT" `
432-
--env-vars "GITHUB_PAT=secretref:personal-access-token" "REPO_URL=https://github.com/$REPO_OWNER/$REPO_NAME" "REGISTRATION_TOKEN_API_URL=https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/actions/runners/registration-token" `
432+
--env-vars "GITHUB_PAT=secretref:personal-access-token" "GH_URL=https://github.com/$REPO_OWNER/$REPO_NAME" "REGISTRATION_TOKEN_API_URL=https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/actions/runners/registration-token" `
433433
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
434434
```
435435

0 commit comments

Comments
 (0)