I have successfully setup automated build for my docker image. But I’m facing a problem with REAMDE file.
In github repository I have a README file located in root of repo - this is a README I want to use as description at Docker Hub. And I have a separate directories for versions, containing Dockerfile and README specific for that version of image. Problem is that automated build picks README file from version directory - I understand that this is correct behaviour of automated build I’m asking if there is way to override it.
I tried creating a build hook and changing Dockerfile path (to non-existing file) in automated build, but that failed because of missing Dockerfile. And I’ve also tried creating a post_checkout hook which replaced README file in version directory with repository README, but this also didn’t work because the README was picked before this hook was executed.
If it is not possible to override README file, I would appreciate at least if it was possible to disable automated repository description update based on README.
Is there a way how to achieve this?