I use docker images for my builds and would like to pull from docker.pkg.github.com instead of docker hub. I’m guessing this would require additional permissions for the travis github app/integration - maybe it could be optional? I’d be fine allowing pkg read access to travis.
In the meantime, does anyone know of workaround using auth tokens / env vars to make it possible to pull docker images from github?
docker pull docker.pkg.github.com/mygroup/myrepo/my-docker-image:mytag
Error response from daemon: Get https://docker.pkg.github.com/v2/mygroup/myrepo/my-docker-image/manifests/mytag: no basic auth credentials
So, it seems like github package repos might require authentication in order to pull, so I guess I’m wondering the best way to do that given that travis already does some level of auth in order to get notified of various repo events.
Then you need to make the image(s) required for PRs publicly available without login or with some openly published “guest login” credentials (which is essentially the same).