# Recommended way to kick off a new deployment after Docker image is updated?

**URL:** <https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954>\
**Category:** Nomad\
**Created:** [June 15, 2020, 4:01am UTC](https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954 "2020-06-15T04:01:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianlevesque](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ianlevesque/32/7699_2.png) [@ianlevesque](https://discuss.hashicorp.com/u/ianlevesque)\
**Post date:** [June 15, 2020, 4:01am UTC](https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954/1 "2020-06-15T04:01:47Z")

</div>

What is the right way to inform Nomad a job using the docker runner has a new image available and should be redeployed?

---

<div class="post-metadata">

**Author:** ![shantanugadgil](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/shantanugadgil/32/923_2.png) [@shantanugadgil](https://discuss.hashicorp.com/u/shantanugadgil)\
**Post date:** [June 16, 2020, 10:37am UTC](https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954/2 "2020-06-16T10:37:22Z")

</div>

How about changing the docker tag in the job file and resubmit the job?

---

<div class="post-metadata">

**Author:** ![shantanugadgil](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/shantanugadgil/32/923_2.png) [@shantanugadgil](https://discuss.hashicorp.com/u/shantanugadgil)\
**Post date:** [June 16, 2020, 10:39am UTC](https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954/3 "2020-06-16T10:39:45Z")

</div>

“psychic debugging” tells me that you could possibly mean that you are rebuilding the image with the same tag and want the Nomad agent to pull the newer image with the same tag.  
This can be done with the `force_pull` option, but you will have to resubmit the job anyway (I think).

(That’s all what comes to mind for now 😄 )

---

<div class="post-metadata">

**Author:** ![ianlevesque](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ianlevesque/32/7699_2.png) [@ianlevesque](https://discuss.hashicorp.com/u/ianlevesque)\
**Post date:** [June 16, 2020, 3:01pm UTC](https://discuss.hashicorp.com/t/recommended-way-to-kick-off-a-new-deployment-after-docker-image-is-updated/9954/4 "2020-06-16T15:01:22Z")

</div>

Yes, the same tag and force\_pull. Submitting the same job unchanged is all I need?
