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: action.yml
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,30 @@ inputs:
40
40
force-new-deployment:
41
41
description: 'Whether to force a new deployment of the service. Valid value is "true". Will default to not force a new deployment.'
42
42
required: false
43
+
44
+
# New inputs for running a single task outside of a service
45
+
run-task:
46
+
description: 'Whether to run the task outside of an ECS service. Task will run before the service is updated if both are provided. Will default to not run.'
47
+
required: false
48
+
run-task-container-overrides:
49
+
description: 'A JSON array of container override objects which should applied when running a task outside of a service. Warning: Do not expose this field to untrusted inputs. More details: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerOverride.html'
50
+
required: false
51
+
run-task-security-groups:
52
+
description: 'A comma-separated list of security group IDs to assign to a task when run outside of a service. Will default to none.'
53
+
required: false
54
+
run-task-subnets:
55
+
description: 'A comma-separated list of subnet IDs to assign to a task when run outside of a service. Will default to none.'
56
+
required: false
57
+
run-task-launch-type:
58
+
description: "ECS launch type for tasks run outside of a service. Valid values are 'FARGATE' or 'EC2'. Will default to 'FARGATE'."
59
+
required: false
60
+
run-task-started-by:
61
+
description: "A name to use for the startedBy tag when running a task outside of a service. Will default to 'GitHub-Actions'."
62
+
required: false
63
+
wait-for-task-stopped:
64
+
description: 'Whether to wait for the task to stop when running it outside of a service. Will default to not wait.'
65
+
required: false
66
+
#back to normal inputs
43
67
outputs:
44
68
task-definition-arn:
45
69
description: 'The ARN of the registered ECS task definition'
0 commit comments