runner deployment is not working with any docker image except summerwind/actions-runner:latest #2138
Replies: 2 comments 4 replies
-
Add some more context. GitHub action workflows are working fine under VM self-hosted runner. I would like to try the actions-runner-controller in EKS so I do not have to setup VM runner in the future. The same issue happens with https://github.com/actions/actions-runner-controller/releases/download/v0.26.0/actions-runner-controller.yaml and https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml. Thank you very much in advance for your help! |
Beta Was this translation helpful? Give feedback.
-
The ARC team intentionally keeps their base runner images as scaled-back as possible, which is a good thing. I would suggest setting up your own repo + Action to build these Docker images you'll be using on a regular cadence, test them in some basic way, and then push them to your registry of choice if the image works as expected. This will also eliminate issues with Dockerhub rate limiting concerns as you will not be having your runners pull The only token you should need to provide to ARC is the one giving it permissions to manage runners depending on how you scope things in your setup (enterprise-wide, org-wide, or individual repo.) During the kickoff process for a runner, the ARC stack will be given an ephemeral token scoped to the repo your Action workflow will run within and that is handed off to the runner to then utilize when pulling down code and possibly pushing changes back in if you allow that kind of thing.
This just sounds like an environment error if you cannot even pull in the summerwind image? Does your organization block dockerhub access via network firewall rules or policies?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
I am not able to run RunnerDeployment with any docker image other than the original summerwind/actions-runner:latest. on AWS EKS 1.22.
When the deployment with the following configuration, it works
But it does not have aws command, kubectl command etc. And it does not recognize the GITHUB_TOKEN to pull the private github repo.
docker build --build-arg github_token=$GITHUB_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
So I plan to add some more package to the original summerwind/actions-runner:latest image.
but none of them are working. Even docker image built with one line docker file
FROM summerwind/actions-runner:latest
It is still not working. Can you please point me in the right direction?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions