i had the same problem.
i suppose that this issue was because i authorized “docker hub” to my GitHub account prior to creating private repository.
So, i went to GitHub settings, revoke grant to Docker Hub.
Then went to docker hub settings and linked my github account again.
Then i removed my docker hub repository and created it again.
Only after those steps i was able to see “deploy keys” on both github and docker hub.