-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
60 lines (58 loc) · 1.47 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
name: 'AWS GitHub Runner Management'
description: 'self-hosted AWS GitHub runners management'
branding:
icon: 'cloud'
color: 'blue'
inputs:
mode:
description: 'Mode of operation (start/stop)'
required: true
options: ['start', 'stop']
github-token:
description: 'GitHub Personal Access Token'
required: true
github-token-type:
description: 'GitHub Token Type'
required: false
default: 'legacy'
options: ['legacy', 'fine-grained']
github-org-runner:
description: 'GitHub Organization Runner (true/false)'
required: false
default: 'false'
ec2-image-id:
description: 'AWS EC2 AMI ID'
required: true
ec2-instance-type:
description: 'EC2 Instance Type'
required: false
default: 't2.micro'
spot-instance:
description: 'Use Spot Instance'
required: false
default: 'false'
spot-price:
description: 'Maximum price for Spot Instance'
required: false
default: '0.10'
subnet-id:
description: 'Subnet ID for EC2 instance'
required: true
security-group-id:
description: 'Security Group ID for EC2 instance'
required: true
iam-instance-role:
description: 'IAM Instance Role name'
required: false
aws-resource-tags:
description: 'JSON formatted AWS resource tags'
required: false
default: '[]'
outputs:
label:
description: 'Generated runner label'
ec2-instance-id:
description: 'EC2 Instance ID of the runner'
runs:
using: 'docker'
image: 'Dockerfile'