Docker was caching the git clone command, causing it to use an old branch version from cache. Fixed it by forcibly writing a file which changes every time a new commit is pushed (from the GitHub API), which should block the caching mechanism, as the image state would be different.
Docker was caching the
git clone
command, causing it to use an old branch version from cache. Fixed it by forcibly writing a file which changes every time a new commit is pushed (from the GitHub API), which should block the caching mechanism, as the image state would be different.