# Publish to push new Images Documentation

**URL:** <https://drone.discourse.group/t/publish-to-push-new-images-documentation/5217>\
**Category:** Drone Support\
**Created:** [December 5, 2016, 11:03am UTC](https://drone.discourse.group/t/publish-to-push-new-images-documentation/5217 "2016-12-05T11:03:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![auzty](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@auzty](https://drone.discourse.group/u/auzty)\
**Post date:** [December 5, 2016, 11:03am UTC](https://drone.discourse.group/t/publish-to-push-new-images-documentation/5217/1 "2016-12-05T11:03:30Z")

</div>

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 ☹

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [December 5, 2016, 1:47pm UTC](https://drone.discourse.group/t/publish-to-push-new-images-documentation/5217/2 "2016-12-05T13:47:49Z")

</div>

Please see [http://readme.drone.io/0.5/usage/build-publish-docker-images/](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`

---

<div class="post-metadata">

**Author:** ![auzty](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@auzty](https://drone.discourse.group/u/auzty)\
**Post date:** [December 6, 2016, 4:36am UTC](https://drone.discourse.group/t/publish-to-push-new-images-documentation/5217/3 "2016-12-06T04:36:13Z")

</div>

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