README is not auto-updated with custom hooks

I have overwritten the build and push hooks to build a multi-platform image and have it not overwritten by the default push stage. However, the repository README is no longer updating the overview on the Docker Hub. Can I somehow do that myself from a hook?