I played with bamboo/docker a few days, and I wonder whether the below should work?
The problem I see, is that at 3, updated image is not being used. Instead, image from the previous build (before remote registry update) seems to be used.
I wonder it this is an expected behavior or some problem in our bamboo/docker's configuration. And, if the behavior is an expected one, which is the workaround to force bamboo plan to use updated image from remote repositry?
You should be able to run the up-to-date image is, as a first step in 1), you do
docker pull my-remote:5000/my-repository:latest
If you just do a docker run, docker will check in your cached images, and it will not check your registry for a more up to date image.
Thanks, yes, but bamboo’s ‘Docker configuration’ setting page only provides the choice of one of the following 3.
“Build a Docker immage”
“Run a Docker container”
“Push a Docker image to a Docker registry”
I wonder if I need to do “pull” outside of this ‘Docker configuration’
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs