Hello,
I’m trying to deploy a simple pipeline with docker on a server disconnected from internet.
I have a working docker registry accessible at registry.loc
.
In a gitea repo I have a python code and the following .drone.yml
file.
---
kind: pipeline
type: docker
name: default
steps:
- name: db
image: registry.loc:5000/db:latest
commands:
- python -u -m db
settings:
dockerfile: db.Dockerfile
insecure: true
repo: registry.loc:5000
When running the pipeline, I have the following error in the web console logs at the “clone” step:
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
I have tried everything I could from the documentation…
Is there a way to tell the drone-runner to not use the default docker registry?
Thanks