You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,15 @@
1
1
## Amazon ECS "Run Task" Action for GitHub Actions
2
2
3
-
Runs an Amazon ECS task on ECS cluster.
3
+
Runs an Amazon ECS task on ECS cluster, with options for Launch Type, VPC Configuration & Capacity Provider Strategy.
4
+
5
+
Combines improvements from the following repositories and PRs:
6
+
7
+
-[Add support for capacity provider strategy attribute by @evgeniy-b](https://github.com/smitp/amazon-ecs-run-task/pull/76/files) -
8
+
to add support for [capacity provider strategy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html?icmpid=docs_ecs_hp_deploy).
9
+
-[YashdalfTheGray/amazon-ecs-run-task](https://github.com/YashdalfTheGray/amazon-ecs-run-task/) - to add support
10
+
for `launchType` and `networkConfiguration`
11
+
-[smitp/amazon-ecs-run-task](https://github.com/smitp/amazon-ecs-run-task) - initial fork which enabled running of an
12
+
ECS task
4
13
5
14
**Table of Contents**
6
15
@@ -21,7 +30,7 @@ Runs an Amazon ECS task on ECS cluster.
21
30
22
31
```yaml
23
32
- name: Run Task on Amazon ECS
24
-
uses: muya/amazon-ecs-run-task
33
+
uses: muya/amazon-ecs-run-task@v1
25
34
with:
26
35
task-definition: task-definition.json
27
36
cluster: my-cluster
@@ -95,7 +104,7 @@ The task definition file can be updated prior to deployment with the new contain
Copy file name to clipboardExpand all lines: action.yml
+15-5
Original file line number
Diff line number
Diff line change
@@ -23,19 +23,29 @@ inputs:
23
23
description: 'How long to wait for the task reach stopped state, in minutes (default: 30 minutes, max: 6 hours).'
24
24
required: false
25
25
launch-type:
26
-
description: The launch type of the task, either FARGATE or EC2
26
+
description: The launch type of the task, either FARGATE or EC2. Can be overridden by the capacity-provider-strategy.
27
27
required: false
28
28
capacity-provider-strategy:
29
-
description: 'JSON representation of the capacity provider strategy to use for the task. Only set if provided. Example: [{"capacityProvider": "FARGATE_SPOT", "base": 0, "weight": 1}]. Provider options: [FARGATE, FARGATE_SPOT]'
29
+
description: |
30
+
JSON representation of the capacity provider strategy to use for the task. Only set if provided.
0 commit comments