Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I force a "docker pull" before my build?

I have a build that is defined with one stage, one job, and that job is configured to use docker. I'm not building a docker image with this job; I'm conducting my entire build inside a docker image.

However, it seems that the build agents have different versions of the docker image I use to build with on them, meaning that I get slightly different results in my build depending on which build agent my build lands on.

I can't add a task to my existing job to execute `docker pull` of the appropriate image, because my entire job is set to be run inside a docker container.

I can't add a new job that does the `docker pull` command because that will then run on a different build agent.

My workaround at the moment is to always push my docker images with a unique tag based on the date and then modify the bamboo job configuration each time I push the docker image, but this seems highly suboptimal. Ideally, I would never touch the bamboo configuration.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

548 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you