Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Deploy to ECS ecs-deploy
Deploy your app to AWS Elastic Container Service.
arguments
deploy to ecs:
type: ecs-deploy
arguments:
AWS_ACCESS_KEY_ID: '${{AWS_ACCESS_KEY_ID}}'
AWS_SECRET_ACCESS_KEY: '${{AWS_SECRET_ACCESS_KEY}}'
aws-region: us-east-2
cluster_name: MY_ECS_CLUSTER
service_name: MY_ECS_SERVICE
deploy to ecs:
type: ecs-deploy
arguments:
AWS_ACCESS_KEY_ID: '${{AWS_ACCESS_KEY_ID}}'
AWS_SECRET_ACCESS_KEY: '${{AWS_SECRET_ACCESS_KEY}}'
aws-region: us-east-2
cluster_name: MY_ECS_CLUSTER
service_name: MY_ECS_SERVICE
image_tag: 0.0.1