abronin/Retag Docker image in AWS ECR without pulling

Retag existing Docker image in AWS ECR without pulling

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Aug 24, 2026
Maintenance Recency
Stalelast commit Feb 27, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: abronin/ecr-retag-action@a35673037e268770b7fbc1a3513d0003727d9301 # v1.7.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
aws-account-idThe AWS account ID associated with the registry that contains the image to retag (the default registry of user is assumed)no
aws-regionAWS Region (e.g. us-east-2; not required if you provide AWS_REGION env variable)no
repositoryECR repository name (e.g. namespace/image)yes
tagImage tag you want to add new tags to (e.g. latest)yes
new-tagsList of tags you want to add (e.g. v1.2.3, production, sha-1234asdf)yes

no outputs