-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Customisation script and files in /home/runner
#344
Comments
If people find that this image would suit the actions scaler then that's fine but it's not built that way I'm happy to review a PR to see a gut check against it, but I dont currently have any opinion other than my previously stated: I dont wish to directly tie this to any orchestrator (k8s, nomad, etc) I don't mind adding in the functionality but don't with to start that work myself. I'd think that a new set of workflow scripts that build off the current artifacts and add a |
Thank you for your prompt response and I think it's a fair take. I'll have a look to see what I can do and if I can find more information about this script. |
Hi @eliandoran, rougly 4 months have passed. Did you get this beautiful image to work with the actions runner controller? I tried to use it myself where I used this as my base image. In my Dockerfile I did add the runner-container-hooks binary. Then I did set the group to docker with And as you mentioned, I too use I also tried setting the And then I also tried adding volumes for the working directory but without success 😢 So, still curious how you solved it. Maybe we can set an env var |
@VincentVerweij , on my side I ended up trying a fork of the official image which is compatible with It worked to bypass the issue I was having, but I ended up abandoning it since it did not work for my use case:
|
Hi,
I'm trying to set up a cluster using GitHub Runner Controller (gha-runner-scale-set), using Kubernetes mode.
By default GitHub Runner Controller uses the official
ghcr.io/actions/actions-runner:latest
image, but I find it quite lacking (not evengit
is available on it), so I tried this image instead.It's working just fine, except when I try to run a GitHub Docker action where it will fail with:
I've tracked this error a bit and I found in the GitHub Actions docs there is a description of this:
I managed to look at the official image using
docker run -it --entrypoint="/bin/bash" ghcr.io/actions/actions-runner:latest
and I found out that/home/runner
is populated with a few files, including the/home/runner/k8s/index.js
that I presumably need in order to run containers in Kubernetes mode.What is your opinion, should this
k8s
container hook be part of this Docker image? What about the other files that are available in/home/runner
?The text was updated successfully, but these errors were encountered: