Login to GHCR

April 12, 2026 · View on GitHub

Login to GitHub Container Registry (GHCR) for pulling or pushing container images.

Inputs

NameDescriptionRequiredDefault
github-tokenGitHub token with packages:read (or packages:write) scope-

Usage

steps:
  - name: Login to GHCR
    uses: devantler-tech/actions/login-to-ghcr@main
    with:
      github-token: ${{ secrets.GITHUB_TOKEN }}