forked from aws-actions/amazon-ecs-render-task-definition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
66 lines (66 loc) · 2.21 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: 'Amazon ECS "Render Task Definition" Action for GitHub Actions'
description: 'Inserts a container image URI into a container definition in an Amazon ECS task definition JSON file, creating a new file.'
branding:
icon: 'cloud'
color: 'orange'
inputs:
task-definition:
description: 'The path to the ECS task definition JSON file'
required: true
container-name:
description: 'The name of the container defined in the containerDefinitions section of the ECS task definition'
required: true
overwrite-container-name:
description: 'Overwrite container name "placeholder_container_name" with {{ container-name }} if set to "true"'
required: false
container-port:
description: 'Container port mapping'
required: false
host-port:
description: 'Container port mapping'
required: false
command:
description: 'Command to execute on container'
required: false
image:
description: 'The URI of the container image to insert into the ECS task definition'
required: true
prefer-task-definition-environment-variables:
description: 'When env file is set, prefer the task def variables to the env file variable'
required: false
aws-env-files:
description: 'AWS env files'
required: false
environment-variables:
description: 'Variables to add to the container. Each variable is of the form KEY=value, you can specify multiple variables with multi-line YAML strings.'
required: false
environment-secrets:
description: 'Secrets to add to the container. Each secret is of the form KEY=value, you can specify multiple variables with multi-line YAML strings.'
required: false
family:
description: 'task-def family'
required: false
cpu:
description: 'CPU'
required: false
memory:
description: 'Memory'
required: false
executionRoleArn:
description: 'executionRoleArn'
required: false
taskRoleArn:
description: 'taskRoleArn'
required: false
awslogs-group:
description: 'awslogs-group'
required: false
awslogs-region:
description: 'awslogs-region'
required: false
outputs:
task-definition:
description: 'The path to the rendered task definition file'
runs:
using: 'node16'
main: 'dist/index.js'