Steps:
- Generate personal access token for GitHub Container Registry to be used as ghcr token
- Add ghcr token,
GHCR_AUTH_TOKEN
, as secret in repo settings - Enable workflows in GitHub Actions
- Push to repo to trigger GitHub Actions
- Enable ghcr in GitHub Packages
- Set publicity to "public"
References: