I have successfully followed the guides to create a custom docker image to be used with Bitbucket Pipelines.
After doing so, I updated my docker image to add a few text files but when my pipeline step runs, I'm getting an error that the files cannot be found.
I have already performed the following debugging:
- checked the image to ensure the text files are there: yes
- added command to the pipeline step to list all the directories: the directory containing the files I need is missing
Is it possible to somehow "force refresh" the docker image/container used by Bitbucket Pipelines so that it updates with the missing files? If so, how to achieve this?
Thanks in advance.
Bitbucket Pipelines has a registry cache to speed up start-up times of builds. There is currently no way to refresh the cache (as other users could be using the same image).
The best solution I can offer is to update your Docker image with a different tag and then reference the new tag in your bitbucket-pipelines.yml configuration.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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