Open victor-cetinic opened 3 months ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
I had the same problem. I use FluxCD to create Helm release and I used the postRenderers functionality to overwrite (as a workaround) the dind image or dind args:
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: dev-runners
spec:
releaseName: dev-runners
chartRef:
kind: OCIRepository
name: dev-runners
postRenderers:
- kustomize:
patches:
- target:
kind: AutoscalingRunnerSet
name: dev-runners
patch: |
- op: replace
path: /spec/template/spec/containers/1/image
value: 24.0.9-dind
[...]
+1 We are using RunnerDeployments. Can we get this option on there as well. We have reached our pull limit with Docker hub with no way to update the image.
Would love to see this become a feature. Any update on this?
would be possible with https://github.com/actions/actions-runner-controller/pull/3645
What would you like added?
I have been trying to customise the gha-runner-scale-set so that i can set the docker registry mirror globally for all the runners using the Docker DIND approach.
Most instructions point to modifying the registry settings of the docker service by adding a command line like :
--registry-mirror=https://mirror.gcr.io
(further options - https://cloud.google.com/artifact-registry/docs/pull-cached-dockerhub-images )The issue im facing is that these need to be configured on the dind container, and not the runner container., and when i created a template like this
I expected to be able to customise the dind container, however, it does not get included in the template, it simply uses the default pre-defined in the template, so none of these customisations are considered in the final template, consequently , the settings are not applied.
Output from dry run
Below you can see the final template, that contains the customisations i made to the runner, however, the dind container is ignored so my mirror registry settings are not applied.
Why is this needed?
The issue for me is I hit limits going to docker registry, and having a single way to do this for all runners, makes more sense and would apply for all rather than each workflow having to do something
Additional context
Add any other context or screenshots about the feature request here.