# Plugin updates on pushing docker hub tag

**URL:** <https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512>\
**Category:** Drone Support\
**Created:** [February 16, 2018, 7:38pm UTC](https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512 "2018-02-16T19:38:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucaperret](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/lucaperret/32/3657_2.png) [@lucaperret](https://drone.discourse.group/u/lucaperret)\
**Post date:** [February 16, 2018, 7:38pm UTC](https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512/1 "2018-02-16T19:38:06Z")

</div>

I’m pushing the latest and vX.X.X tags to docker hub, and my pipelines reference `image: lucap/drone-now` without a tag.  
The plugin image is never updated to his latest tag…

---

<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:** [February 16, 2018, 8:21pm UTC](https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512/2 "2018-02-16T20:21:41Z")

</div>

you can add the `pull: true` attribute to your step

```diff
pipeline:
  foo:
    image: foo/bar
+ pull: true

```

---

<div class="post-metadata">

**Author:** ![lucaperret](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/lucaperret/32/3657_2.png) [@lucaperret](https://drone.discourse.group/u/lucaperret)\
**Post date:** [February 17, 2018, 7:58pm UTC](https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512/3 "2018-02-17T19:58:04Z")

</div>

Thanks!  
Is it preferable to put this parameter on all examples ?  
Is there a internal documentation on that ?

---

<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:** [February 17, 2018, 8:36pm UTC](https://drone.discourse.group/t/plugin-updates-on-pushing-docker-hub-tag/4512/4 "2018-02-17T20:36:24Z")

</div>

> Is there a internal documentation on that ?

Yes, here [https://docs.drone.io/pipeline/docker/syntax/images/](http://docs.drone.io/images/)

> Is it preferable to put this parameter on all examples ?

Not necessarily. We have begun recommending versioned plugins as a best practice as opposed to using the latest tag. This helps teams create more reproducible pipelines, and helps avoid breaking changes.

```diff
pipeline:
  slack:
- image: plugins/slack:latest
+ image: plugins/slack:1.0

```
