# Async build steps?

**URL:** https://drone.discourse.group/t/async-build-steps/11238
**Category:** Drone Support
**Created:** [March 20, 2018, 5:34pm UTC](https://drone.discourse.group/t/async-build-steps/11238 "2018-03-20T17:34:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![zackify](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/zackify/32/3859_2.png) [@zackify](https://drone.discourse.group/u/zackify)
#### Post date: [March 20, 2018, 5:34pm UTC](https://drone.discourse.group/t/async-build-steps/11238/1 "2018-03-20T17:34:35Z")

</div>

I have a repo that deploys to multiple sites with only configuration and language changes for each site (job board software).

It would be neat if I could have 4 steps, where it’s building a docker image for each of the 4 sites, to run in parallel across multiple agents. Is this a possibility? Thanks.

---

<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: [March 20, 2018, 5:45pm UTC](https://drone.discourse.group/t/async-build-steps/11238/2 "2018-03-20T17:45:09Z")

</div>

see the following:  
[http://docs.drone.io/pipelines/#parallel-execution](http://docs.drone.io/pipelines/#parallel-execution)

---

<div class="post-metadata">

### Author: ![zackify](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/zackify/32/3859_2.png) [@zackify](https://drone.discourse.group/u/zackify)
#### Post date: [March 20, 2018, 7:22pm UTC](https://drone.discourse.group/t/async-build-steps/11238/3 "2018-03-20T19:22:33Z")

</div>

Thanks, sorry I couldn’t find that on my own. Although it doesn’t actually work when your parallel steps involve docker builds. My guess is the docker daemon can only do one at a time. If you have any ideas around that, I’d appreciate it.

---

<div class="post-metadata">

### Author: ![jhernandez](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/jhernandez/32/4244_2.png) [@jhernandez](https://drone.discourse.group/u/jhernandez)
#### Post date: [March 21, 2018, 5:18pm UTC](https://drone.discourse.group/t/async-build-steps/11238/4 "2018-03-21T17:18:05Z")

</div>

what are you using to build your images? docker:dind or are you sharing the socket? I don’t think it should matter if you run with dind

---

<div class="post-metadata">

### Author: ![zackify](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/zackify/32/3859_2.png) [@zackify](https://drone.discourse.group/u/zackify)
#### Post date: [March 21, 2018, 5:32pm UTC](https://drone.discourse.group/t/async-build-steps/11238/5 "2018-03-21T17:32:57Z")

</div>

sharing the socket, running drone on kubernetes. I’ll have to look into 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: [March 21, 2018, 5:37pm UTC](https://drone.discourse.group/t/async-build-steps/11238/6 "2018-03-21T17:37:24Z")

</div>

This looks like a relevant issue to subscribe to with regards to a single docker daemon running parallel builds: [https://github.com/moby/moby/issues/9656](https://github.com/moby/moby/issues/9656)
