Skip to content

Instantly share code, notes, and snippets.

@kgutwin
kgutwin / README.md
Last active July 25, 2023 18:19 — forked from mislav/config.json
Experiment in using GitHub CLI to authenticate fetching docker images from GitHub Package Registry

Using the GitHub CLI as a helper for authenticating Docker to ghcr.io

To install this, what worked for me:

  1. Install the GitHub CLI using whatever method works best for you; I used brew install gh.
  2. Authorize your local system with GitHub with the appropriate scopes:
gh auth refresh --scopes=read:packages,write:packages
@kgutwin
kgutwin / README.md
Last active December 10, 2015 20:50 — forked from mbostock/.block
Scalable horizontal bar chart

Scalable Horizontal Bar chart