Use this action to render an Amazon Elastic Container Service (ECS) task definition.
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
No |
The path to the ECS task definition JSON file. Required only if |
|
String |
Yes |
The container name as defined in the ECS task definition (in |
|
String |
Yes |
The container image URL. |
|
JSON |
No |
Container variables, formatted as JSON data in key/value pairs. |
|
String |
No |
The path of the file that contains the environment variables. |
Usage example
In your YAML file, add:
- name: Render task definition uses: cloudbees-io/ecs-render-task-definition@v1 with: task-definition: test/taskDefinition.json container-name: container_name image: ${{ vars.IMAGE_URL }} environment-variables: '{"LOG_LEVEL"="info","ENVIRONMENT"="prod"}' environment-variables-path: sample/example.json