Is there a restriction when using the same secret in two repositories?
nope
we use the same docker username/password to publish 100+ images, including drone, and all the drone plugins. I recommend posting more details, including a sample yaml configuration file.