Bitbucket Pipeline Not fetching latest docker container from private docker hub registry

42 Views Asked by At

I am working on a bitbukcet Pipeline where I am fetching a container from a private docker hub registry. Here is my problem

  1. If I make registry public, it fetches the latest container that I pushed (The behaviour that I wants)

  2. If I make it private and push some changes to docker container and then try to pull it in the bitbucket pipeline again, it always fetch the last commit I fetched (when docker registry was public). Not fetch the changes/commits I made after making the docker registry private

Does anyone knows about this issue in Bitbucket Pipeline? Is it some type of cache issues or anything else. Any help will be highly regarded

I want to know how to fetch latest commit from docker hub in bitbucket pipeline

0

There are 0 best solutions below