appleboy/Docker ECR

Upload Docker Image to Amazon Elastic Container Registry (ECR)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 23, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: appleboy/docker-ecr-action@174bc7ab545bf5c4f4492240c4d839a987643559 # v0.0.3

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

namedescriptionrequireddefault
access_keyamazon access key
secret_keyamazon secret access key
registrydocker registry
regionamazon region, defaults to us-east-1us-east-1
reporepository name for the image
lifecycle_policyfilename of ecr lifecycle json policy
repository_policyfilename of ecr repository json policy
tagsrepository tag for the image, defaults to latestlatest
dockerfiledockerfile to be used, defaults to DockerfileDockerfile
authauth token for the registry
contextthe context path to use, defaults to root of the git repo.
force_tagreplace existing matched image tags
insecureenable insecure communication to this registry
mirroruse a mirror registry instead of pulling images directly from the central Hub
bipuse for pass bridge ip
custom_dnsset custom dns servers for the container
storage_driversupports aufs, overlay or vfs drivers
cache_fromimages to consider as cache sources
auto_tagdefault build tags
daemon_offdo not start the docker daemon

no outputs