Skip to content
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

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

Open
michaelsync opened this issue Dec 1, 2020 · 1 comment

Comments

@michaelsync
Copy link

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?

@cenobitedk
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants