tcardonne / docker-github-runner

Run GitHub Actions on self-hosted runner using Docker.
MIT License
297 stars 124 forks source link

Support Personal Access Tokens with Github Enterprise #49

Open luka5 opened 3 years ago

luka5 commented 3 years ago

The RUNNER_REPOSITORY_URL and RUNNER_ORGANIZATION_URL combined with a RUNNER_TOKEN already support any Github Enterprise. Unfortunately, the recommended GITHUB_ACCESS_TOKEN does connect with api.github.com directly. Therefore one can not use this project together with a Github Enterprise instance.

With this PR, the Github API is automatically derived from the provided URL.

styjdt commented 3 years ago

Great! If you didn't propose this change, I would have done. This is really needed. Can't wait for this to be included in the Docker image...

styjdt commented 3 years ago

@tcardonne Any chance that a new version of the Docker image including this change is published in the near future?

jamesseiwert commented 3 years ago

@tcardonne Any thoughts on this being bublished?