The example Yaml configurations in this file are using the legacy 0.8 syntax. If you are using Drone 1.0 or Drone Cloud please ensure you use the appropriate 1.0 syntax. Learn more here.
The ECS plugin can be used to deploy a Docker image to an ECS environment. The following pipeline configuration uses the ECS plugin to deploy a Docker image to an ECS service:
pipeline: ecs: image: peloton/drone-ecs access_key: superaccesskey secret_key: supersecretkey service: service1 region: us-west-2 family: my-ecs-task image_name: namespace/repo image_tag: latest environment_variables: - DATABASE_URI=database uri port_mappings: - 80 9000 memory: 128
- aws access key
- aws secret key
- ecs service on that environment to upgrade
- aws region you’re using
- ecs task
- docker image to use
- tag for the docker image to use
- list of environment variables to pass to ecs
- port mappings for ecs
- memory to assign to the service
Is there a mistake on this page? Please let us know or edit this page.