What hostname do you use to push Docker images to GitHub Container Registry?
Select an answer to reveal the explanation.
Short Explanation
ghcr.io is GitHub Container Registry — the modern replacement for docker.pkg.github.com with better auth and permissions.
Full Explanation
GitHub Container Registry (GHCR) uses the hostname 'ghcr.io'. The full image path format is 'ghcr.io/{owner}/{image-name}:{tag}'. Authentication uses GITHUB_TOKEN or a personal access token with 'write:packages' scope. 'docker.pkg.github.com' was the old GitHub Packages Docker registry, which GitHub deprecated in favor of GHCR. GHCR offers better features: package-level permissions separate from repository permissions, unauthenticated access to public images, and cleaner namespace. In workflows, 'docker login ghcr.io -u ${{ github.actor }} --password-stdin' with echo '${{ secrets.GITHUB_TOKEN }}' is the standard auth pattern.