I’ve made some changes to the drone-git
plugin and pushed my own image, but I don’t understand how drone knows to use this image in the first place.
Say I have this section in .drone.yml
in my git project, and specify that I want to clone using my custom drone image:
clone:
default:
image: maciek/drone-git
How does drone know to use this image before .drone.yml
has even fetched my repo?
Does drone require this change to land in master
and then cache the result?
Does drone see this and then re-fetch?
Is this the right way to specify a substitute for drone-git
or is there some more central way to do it?