copilot-innovations/ECR Deploy Action
Build and deploy Docker images to Amazon ECR and EC2
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| aws-access-key-id | AWS Access Key ID | yes | — |
| aws-secret-access-key | AWS Secret Access Key | yes | — |
| aws-region | AWS Region | yes | ap-southeast-2 |
| ecr-repository | ECR Repository name | yes | — |
| image-tag | Docker image tag | yes | latest |
| ec2-host | EC2 host address | yes | — |
| ec2-user | EC2 username | yes | — |
| ec2-private-key | EC2 SSH private key | yes | — |
| container-name | Name for the Docker container | yes | — |
| container-port | Container port to expose | yes | 5000 |
| host-port | Host port to map | yes | 4000 |
| env-content | Environment variables as a string | yes | — |
| volume-mounts | Volume mounts in format: host_path:container_path,host_path2:container_path2 (e.g., cred.json:/app/cred.json,product.csv:/app/product.csv) | no | "" |
Outputs
no outputs