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?