Publish to push new Images Documentation

Any Tutorial how to publish the images? or there are any example to do the complete test ? start using clone, build, test and publish the images? and how to use the docker plugins? maybe just some yml example that can be enough, because i trying publish new docker images failed because needed Dockerfile, there are no documentation that mention the sourcecode repository must have the Dockerfile to do publishing images :frowning:

Please see http://readme.drone.io/0.5/usage/build-publish-docker-images/

there are no documentation that mention the sourcecode repository must have the Dockerfile to do publishing images

You need to provide a Dockerfile so that the plugin can build and publish an image, per the Docker documentation. This would be the same as if you were building an image locally on you laptop. Drone is not doing any magic here. The plugin is just a wrapper around docker build and docker publish

ahhh, finally i can create it :smiley: , but it’s common to add the Dockerfile to Project Code git ?