veera-dao/Deploy to Amazon ECS
Build Docker image, push to ECR, and deploy to one or more ECS services
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 | — |
| ecr-repository | ECR Repository name | yes | — |
| ecs-cluster | ECS Cluster name | yes | — |
| services | JSON array of services to deploy. Each service has its own task definition and containers. Simple format (all containers use the built image): [ {"task_def": "api-task", "service": "api-svc", "containers": ["api", "nginx"]} ] Advanced format (different images per container): [ { "task_def": "api-task", "service": "api-svc", "containers": [ {"name": "api"}, {"name": "nginx", "image": "nginx:1.25"}, {"name": "datadog", "image": "datadog/agent:latest"} ] } ] Use "image": "skip" to leave a container unchanged. | yes | — |
| dockerfile-path | Path to Dockerfile context | no | . |
| docker-build-args | Docker build arguments | no | "" |
| docker-platform | Docker platform (e.g., linux/arm64, linux/amd64) | no | linux/arm64 |
| image-tag | Image tag (defaults to git sha) | no | "" |
| wait-for-service-stability | Wait for ECS services to stabilize | no | true |
| update-version-file | Update version file from git tag (use with tag triggers) | no | false |
| version-file-path | Path to version file | no | version.txt |
| version-target-branch | Branch to push version update to | no | main |
| slack-bot-token | Slack Bot Token | no | "" |
| slack-channel | Slack channel for notifications | no | "" |
Outputs
| name | description |
|---|---|
| image | Full ECR image URI |
| version | Version from git tag (if update-version-file is enabled) |