I am running :
- drone-server on top of kubernetes
- and drone-kubernetes-runner to dynamically provisioning runner as pods.
After investigation, i found the Pod YAML of each runner defines the 1st step "git clone" using the image drone/git
.
I am running the pipeline in offline environment. I have to specify nexus.company.local/drone/git
instead of drone/git
to avoid fetching from the public registry.
I search everywhere, but no way.
Even image_pull_secrets
is valuable for explicit steps that i can define.
It's NOT valuable for implicit steps like the "clone" step
You could disable the automatic cloning and add an explicit step, specifying your own image with the nexus mirror origin.
For example: