# aws-actions/amazon-ecr-login

Logs into Amazon ECR with the local Docker client.

Repository: https://github.com/aws-actions/amazon-ecr-login
Canonical: https://ross.abutalabs.com/products/amazon-ecr-login
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-09-03T01:29:25+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 98, longevity 100
- inputs: {"age_days": 2490, "days_push": 0, "days_rel": 14, "gap_med": 8, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1058, forks 213 (observed 2026-09-03T02:15:09.405992+00:00)

## What it is
A GitHub Actions action that authenticates the local Docker client to Amazon ECR Private or Public registries. It exposes registry and credential outputs for use in subsequent build and push steps.

## Use cases
- log into amazon ecr from github actions
- build and push docker image to ecr in ci
- authenticate docker client to aws container registry
- use ecr image as a service in workflow
- login to ecr public registry
- get ecr registry uri as workflow output
- mask docker credentials in ci logs

## When to choose
- your CI runs on GitHub Actions and pushes or pulls images from Amazon ECR
- you want short-lived registry credentials via AWS credential actions or OIDC role assumption
- you need registry URI and token outputs for later workflow steps

## When to avoid
- you are not using GitHub Actions as your CI
- you push to non-AWS registries like Docker Hub or GHCR
- you need a general-purpose Docker credential helper outside CI workflows

## Facets
- artifact type: plugin
- maturity: active
- function: auth, ci-cd, developer-tools, container-runtime
- domain: cloud-computing, developer-tools
- platform: cloud, cli
- tags: github-actions, aws, ecr, docker-login, container-registry, ci-workflow, devops, containers, docker

## Member repositories
- aws-actions/amazon-ecr-login (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.405992+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-30T06:57:55.955918+00:00, confidence not recorded.
  - readme: https://github.com/aws-actions/amazon-ecr-login (fetched 2026-09-03T02:15:09.405992+00:00, sha f40791b20a14)
- Data as of 2026-08-30T08:39:29.467469+00:00.
