Skip to content

GHCR access

zees-dev edited this page Sep 11, 2023 · 1 revision

Github Container Registry access

Access for pulling and pushing docker images to the GHCR of this repo.

Setup PAT

Go into your Github:

Settings > Developer Setting > Personal access tokens > Tokens (classic)

Generate new token > Generate new token (classic)

Give following access:

  • write:packages (Upload packages to GitHub Package Registry)
  • read:packages (Download packages from GitHub Package Registry)
  • delete:packages (Delete packages from GitHub Package Registry)
  • read:project (Read access of projects)

Login to GHCR

echo $PAT | docker login ghcr.io -u <github-username> --password-stdin

Pull/run image

docker run --rm -it -p 9944:9944 ghcr.io/futureversecom/fork-release-state-root