github-runner icon indicating copy to clipboard operation
github-runner copied to clipboard

How to use the github app/oauth app to register the self-hosted runner at the organization?

Open michaelsync opened this issue 5 years ago • 1 comments

I have made some changes to your Dockerfile and the bash file so I can use it to register the self-hosted docker runner at the organization level.

The problem is that I need the Personal Access Token of the Github organization admin. I am not sure if it's a good practice. I looked the Github app or Oauth app with device flow but it still needs some manual things like entering the code and etc..

What is the best way to authenticate for registering the runner?

michaelsync avatar Dec 01 '20 12:12 michaelsync

What kind of changes have you made? I'm about to use this runner for the same purpose (organisation, private repo) and I was planning to create a machine user (https://docs.github.com/en/developers/overview/managing-deploy-keys#machine-users) and use it for the runner.

cenobitedk avatar May 07 '21 11:05 cenobitedk