veera-dao/Deploy to Amazon ECS

Build Docker image, push to ECR, and deploy to one or more ECS services

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
aws-access-key-idAWS Access Key IDyes
aws-secret-access-keyAWS Secret Access Keyyes
aws-regionAWS Regionyes
ecr-repositoryECR Repository nameyes
ecs-clusterECS Cluster nameyes
servicesJSON 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-pathPath to Dockerfile contextno.
docker-build-argsDocker build argumentsno""
docker-platformDocker platform (e.g., linux/arm64, linux/amd64)nolinux/arm64
image-tagImage tag (defaults to git sha)no""
wait-for-service-stabilityWait for ECS services to stabilizenotrue
update-version-fileUpdate version file from git tag (use with tag triggers)nofalse
version-file-pathPath to version filenoversion.txt
version-target-branchBranch to push version update tonomain
slack-bot-tokenSlack Bot Tokenno""
slack-channelSlack channel for notificationsno""
namedescription
imageFull ECR image URI
versionVersion from git tag (if update-version-file is enabled)