<p>I am running :</p>
<ul>
<li>drone-server on top of kubernetes</li>
<li>and drone-kubernetes-runner to dynamically provisioning runner as pods.</li>
</ul>
<p>After investigation, i found the Pod YAML of each runner defines the 1st step &quot;git clone&quot; using the image <code>drone/git</code>.</p>
<p>I am running the pipeline in offline environment. I have to specify <code>nexus.company.local/drone/git</code> instead of <code>drone/git</code> to avoid fetching from the public registry.</p>
<p>I search everywhere, but no way.
Even <code>image_pull_secrets</code> is valuable for explicit steps that i can define.
It's NOT valuable for implicit steps like the &quot;clone&quot; step</p>
<p><a href="https://i.stack.imgur.com/lvnhE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lvnhE.png" alt="enter image description here" /></a></p>

Abdennour TOUMI
<p>You could disable the automatic cloning and add an explicit step, specifying your own image with the nexus mirror origin.</p>
<p>For example:</p>
<pre><code>kind: pipeline

clone:
  disable: true

steps:
  - name: clone
    image: nexus.company.local/drone/git

</code></pre>
