# docker/login-action

GitHub Action to login against a Docker registry

Repository: https://github.com/docker/login-action
Canonical: https://ross.abutalabs.com/products/login-action
Homepage: https://github.com/marketplace/actions/docker-login
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: github-actions, docker, login, ecr-registry, azure, registry, gitlab-registry, dockerhub, docker-registry, google-container-registry, gcr-registry, aws-ecr, github-actions-docker
Last push: 2026-08-25T05:55:30+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 2209, "days_push": 8, "days_rel": 35, "gap_med": 31.5, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1480, forks 308 (observed 2026-08-28T04:04:50.762044+00:00)

## What it is
A GitHub Action that authenticates Docker and OCI clients against container registries within CI workflows. It supports Docker Hub, GitHub Container Registry, GitLab, Azure, Google, AWS ECR, Oracle, Quay.io, and DigitalOcean registries, including OIDC-based authentication.

## Use cases
- log in to Docker Hub from a GitHub Actions workflow
- authenticate to AWS ECR before pushing images in CI
- push images to GitHub Container Registry with a GITHUB_TOKEN
- authenticate to multiple container registries in one workflow
- use OIDC federation instead of stored registry credentials
- log in to GitLab or Azure Container Registry during a build pipeline

## When to choose
- you build or push container images in GitHub Actions
- you need registry authentication across multiple cloud providers
- you want short-lived OIDC credentials instead of long-lived secrets

## When to avoid
- your CI runs outside GitHub Actions
- you need to build images without pushing to a registry
- you use a CI system with native registry login support

## Facets
- artifact type: plugin
- maturity: stable
- function: auth, deployment, ci-cd, developer-tools
- domain: cloud-computing
- platform: cloud, cli
- tags: github-actions, docker-registry, container-registry, ecr, gcr, acr, dockerhub, oidc, devops, containers, automation, docker

## Member repositories
- docker/login-action (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.762044+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:14.242869+00:00, confidence not recorded.
  - readme: https://github.com/docker/login-action (fetched 2026-08-28T04:04:50.762044+00:00, sha 18a901308415)
  - homepage: https://github.com/marketplace/actions/docker-login (fetched 2026-08-29T11:41:19.058894+00:00, sha e183cadceaf1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
