July 3, 20233 yr [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/.../ Edited July 3, 20233 yr by QuentinM Updated the title
September 26, 20232 yr Was just looking for it! thanks for converting it to UD! I tried running it and it was running/idle. I changed the "runs-on" from "ubuntu-latest"to "self-hosted" on one of my workflows/actions, but I found an issue with the Docker Buildx set up. any idea how to resolve this issue? Issue: Log: Runner reusage is disabled Configuring -------------------------------------------------------------------------------- | ____ _ _ _ _ _ _ _ _ | | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ | | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| | | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ | | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ | | | | Self-hosted runner registration | | | -------------------------------------------------------------------------------- # Authentication √ Connected to GitHub # Runner Registration √ Runner successfully added √ Runner connection is good # Runner settings √ Settings Saved. √ Connected to GitHub Current runner version: '2.309.0' 2023-09-26 19:33:32Z: Listening for Jobs 2023-09-26 19:35:14Z: Running job: build 2023-09-26 19:35:38Z: Job build completed with result: Failed UD Docker Template Config: Any help is appreciated! @QuentinM Edited September 26, 20232 yr by Zippox Issue
May 3, 20242 yr As I mentioned in the org-level thread, I was able to set up this repo-level runner and have it process jobs. However, it requires a lot of babysitting at the moment. Almost daily it becomes unregistered from the repo and I have to generate a new token and update it in the template config so that it gets re-registered with the repo. My hunch is that this happens when the container is stopped or restarted. Any idea if there's a way to fix this issue so it works more hands off?
February 15, 20251 yr Author 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 Edited February 15, 20251 yr by QuentinM type-o fix
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.