Non docker hub image as service in .drone.yml

How to create a service whose image is not in dockerhub?

In my case, i would want etcd image which is available in registry quay.io/coreos/etcd

services:
etcd:
image: ??

Just curious if you have tried:

services:
  etcd:
    image: quay.io/coreos/etcd

More info @ http://docs.drone.io/images/

1 Like

and also how we give arguments like exposing ports, volumes etc which the container expects?
(e.g. https://github.com/coreos/etcd/blob/master/Documentation/op-guide/container.md#docker) etcd expects many arguments.
Or is it the case that port is available to our containers in pipeline without explicitly making them available?

And in case if we wish to load a image from a private registry, how to achieve that?

Seems like my answer to the first question is like this though i am not entirely sure how to relate my usecase with this

services:
  database:
    image: mysql
+   entrypoint: [ "mysqld" ]
+   command: [ "--character-set-server=utf8mb4" ]