Skip to content

Commit

Permalink
use gh pat
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 23, 2024
1 parent 9770837 commit aa4e2e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/arm64-self-hosted-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ jobs:
--create-namespace \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
kubectl create namespace arc-runners
kubectl create secret generic github-config-secret \
--namespace=arc-runners \
--from-literal=github_token="${{ secrets.GH_PAT }}"
helm install arc-runner-set \
--namespace arc-runners \
--create-namespace \
--set githubConfigUrl="https://github.com/replicatedhq/kots" \
--set githubConfigSecret.github_token="${{ secrets.GITHUB_TOKEN }}" \
--set githubConfigSecret="github-config-secret" \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set

0 comments on commit aa4e2e3

Please sign in to comment.