I use a read-only deployment key to clone a private Github repo into a Docker container. However, it doesn't seem possible to use that same deployment key to download a file from a Release. In particular, downloading a file from a release only seems to be possible by using a personal access key. For instance, here is one such tool to do that:
https://github.com/gruntwork-io/fetch
It seems that all of these responses focus on using personal access tokens instead of deployment keys:
How do I download binary files of a GitHub release?
How to download GitHub Release from private repo using command line
However, I have yet to see anybody indicating that it is not possible. So am I just missing something? Is it possible to download a file from a release (or hell.. a whole release) using a deployment key (not a personal access key)?
I need to have a key that is not tied to one of the maintainer's user accounts and I hate the idea of creating some throw-away phantom user solely for the purpose of automating downloads. After all, the phantom account is going to be tied to somebody's account, and I don't like the idea of that.