bhudgens/Build and Deploy to ECR
Builds an image from a dockerfile, and pushes it up to ECR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 25, 2022
- License
- None
Pinned Snippet
uses: bhudgens/build-and-deploy-to-ecr@086042bcaa84b609af98b083985b0a461d5fc0f4 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| access_key_id | AWS Access Key ID | yes | — |
| build_only | Whether to push the image to ECR after building it | no | false |
| dockerfile | Custom Dockerfile name | no | Dockerfile |
| ecr_uri | The URI for the ECR repository | yes | — |
| env_file | File containing environment variables required for app to run and pass healthcheck | no | "" |
| healthcheck | healthcheck path that the application responds on | no | /health |
| port | Port the server listens on | no | 3000 |
| secret_access_key | AWS Secret Access Key | yes | — |
Outputs
| name | description |
|---|---|
| container-path | ECR path where image was pushed |
| github-sha | current github commit sha that triggered the workflow |