citizensadvice/Build and push to ECR
Build and push a Docker image to ERC, written for CA repositories.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 2, 2026
- License
- Apache 2.0
Pinned Snippet
uses: citizensadvice/build-and-push-action@ee9b56c48ba042c046398776b4bbab8af71ea7ba # v7tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| aws_access_key | AWS access key ID | yes | — |
| aws_secret_key | AWS secret access key | yes | — |
| dockerfile_context | The context of the Dockerfile. Defaults to root of project. | no | . |
| repository_name | The name of the image repository. Will be used as the name of the Docker image | yes | — |
| auth_token | A token to pull the repository. Usually GITHUB_TOKEN | yes | — |
| multiarch_build | Build a `linux/arm64` image as well as `linux/amd64`. Defaults to `disabled` | no | disabled |
Outputs
| name | description |
|---|---|
| image_id | ID of the image |
| image_digest | Digest of the image |
| image_tags | A CSV list of the image tags |