-
Unraid Github Runner - repo level: support thread
Sorry for the late response, but given Unraid support stack sets, I don't use this docker app anymore. Below is an example my compose file and env configuration Compose File services: github-runner: container_name: ${RUNNER_NAME} image: myoung34/github-runner:latest environment: ORG_NAME: ${ORG_NAME} RUNNER_NAME: ${RUNNER_NAME} RUNNER_TOKEN: ${RUNNER_TOKEN} RUNNER_WORKDIR: ${RUNNER_WORKDIR}/work RUNNER_SCOPE: 'org' LABELS: linux,x64 security_opt: - label:disable volumes: - '/var/run/docker.sock:/var/run/docker.sock' - '${RUNNER_WORKDIR}:${RUNNER_WORKDIR}' Env. File RUNNER_NAME=<ex:unraid_gh_runner_ex_1> RUNNER_TOKEN=<ex:KeyfromRunner> ORG_NAME=<yourOrgName> RUNNER_WORKDIR=<example:/mnt/user/misc/actions-runner/unraid_gh_runner_ex_1> Ref:https://github.com/myoung34/docker-github-actions-runner
-
Unraid Github Runners - Org: Support Thread
Glad you are getting value from this project. Interesting, have you tried regenerating the token and/or trying the app with the generated actions/runners key?
-
-
Unraid Github Runner - repo level: support thread
[Draft Until App(s) Published] - Technically, this is my second App but who is actually at this point. I created an Unraid app for running self-hosted Github runners for repos as a fun project. I took myoung34/github-runner and converted to an Unraid App because I said I would in this thread: If you're interested in using it, all you to do is Have github account 🙄 Create new gtihub project Go to your personal repository on Github. Click on the "Settings" tab. Click on "Actions" in the left sidebar. Click on "Add runner". Copy the token and url that shows up in the configure section. Ex: ./config.cmd --url --> [URL] <--- --token --->[TOKEN]<---> In Unraid set URL and Token to above the above information set /tmp/github-runner-your-repo to some share on your unraid NAS Pro-Tip: Make sure the working patch is unique of you have multiple containers. Example Below: /mnt/user/misc/actions-runner/user/project/1/ /mnt/user/misc/actions-runner/user/project/2/ /mnt/user/misc/actions-runner/user/project/.../
-
QuentinM changed their profile photo
-
Unraid Github Runners - Org: Support Thread
[Draft Until App(s) Published] - BTW - This is my first Unraid App so sorry if I'm not fully familiar with the process : I created an Unraid app for running self-hosted Github runners for orgs as a fun project. I took myoung34/github-runner and converted to an Unraid App... because... why not If you're interested in using it, you'll need to generate a Personal Access Token (PAT) from Github and github org. Here's how to do it: Go to your Github account settings. Click on "Developer settings" in the left sidebar. Click on "Personal access tokens". The token will need thest permissions repo (all) admin:org (all) (mandatory for organization-wide runner) admin:enterprise (all) (mandatory for enterprise-wide runner) admin:public_key - read:public_key admin:repo_hook - read:repo_hook admin:org_hook notifications workflow Click on "Generate new token". Give your token a name and select the scopes you want to grant it. Click on "Generate token". Copy the generated token to a safe place, as you won't be able to see it again. If you have any questions or issues with the app, please feel free to post them here and I'll do my best to help you out. Thanks! And before you ask... I will create another app for personal GitHub runners. I generally write code under my personal GitHub org because I pay money each month to have it. Ref: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners https://github.com/programmingsecurely/unraid-templates/blob/main/github-runner-org/github-runner-org.xml