Drone & private registry

Hi guys,
we would like to use a docker image from a private repository to build a project.
The output from this build should be uploaded to a server.

I have try to use drone-plugins/drone-docker

I have created a yml file for this, but it seems not to be working.

The error message:
“Error response from daemon: Get https://myregistry.com:5000/v2/my-builder-image/manifests/latest: no basic auth credentials”

pipeline:
build_app:
image: my-builder-image
registry: myregistry.com:5000
secrets: [ docker_username, docker_password ]
tags: latest
when:
event: [push]
branch: [dev]
ssh_upload_output:

notify:

Hope someone could help

If you want to download private images you need to setup registry credentials. You can read more about them here: http://docs.drone.io/manage-registry-credentials/