github

Log in to GitHub Docker registry with just a token

github snippets bash
GitHub's new package registry needs both a username and password to authenticate. Use this snippet to derive the username from a token.