citizensadvice/Build and push to ECR

Build and push a Docker image to ERC, written for CA repositories.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 2, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: citizensadvice/build-and-push-action@ee9b56c48ba042c046398776b4bbab8af71ea7ba # v7

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

namedescriptionrequireddefault
aws_access_keyAWS access key IDyes
aws_secret_keyAWS secret access keyyes
dockerfile_contextThe context of the Dockerfile. Defaults to root of project.no.
repository_nameThe name of the image repository. Will be used as the name of the Docker imageyes
auth_tokenA token to pull the repository. Usually GITHUB_TOKENyes
multiarch_buildBuild a `linux/arm64` image as well as `linux/amd64`. Defaults to `disabled`nodisabled
namedescription
image_idID of the image
image_digestDigest of the image
image_tagsA CSV list of the image tags