[solved] Pulling from registry-1.docker.io instead of private registry

Hi,

With a docker runner (Drone 1.9.2), I get this error in clone step :

default: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 23.22.155.84:443: connect: connection refused
default – clone: Error

My .drone.yml is :

---
kind: pipeline
type: docker
name: default

steps:
- name: pull
  image: docker.mydomain.com/my-image:latest
  commands:
    - echo "hello !"

How to force the registry used to get the docker image in the clone step ?

I found the answer myself : https://docs.drone.io/runner/docker/configuration/reference/drone-runner-clone-image/