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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ This repository contains the code to start a GitHub Actions runner on an AWS EC2
6
6
| arch | The AMI architecture | true | x64 |
7
7
| aws_home_dir | The AWS AMI home directory to use for your runner. Will not start if not specified. | true ||
8
8
| aws_iam_role | The optional AWS IAM role to assume for provisioning your runner. | false ||
9
-
| aws_image_id | The machine AMI to use for your runner. This AMI can be a default but should have docker installed in the AMI. | true ||
9
+
| aws_image_id | The machine AMI to use for your runner. This AMI can be a default but should have docker installed in the AMI. If set to `latest`, aws_image_name is required | true ||
10
+
| aws_image_name | The name of AMI you want to use, only required if you don't specify `aws_image_id`| false ||
10
11
| aws_instance_type | The type of instance to use for your runner. For example: t2.micro, t4g.nano, etc. Will not start if not specified.| true ||
11
12
| aws_region_name | The AWS region name to use for your runner. Defaults to AWS_REGION | true ||
12
13
| aws_root_device_size | The root device size in GB to use for your runner. | false | The AMI default root disk size |
@@ -46,7 +47,8 @@ jobs:
46
47
id: aws-start
47
48
uses: omsf/start-aws-gha-runner@v1.0.0
48
49
with:
49
-
aws_image_id: ami-0f7c4a792e3fb63c8
50
+
aws_image_name: "Deep Learning Base OSS Nvidia Driver GPU AMI (Ubuntu 24.04)"
Copy file name to clipboardExpand all lines: action.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,10 @@ inputs:
11
11
description: "The optional AWS IAM role to assume for provisioning your runner."
12
12
required: false
13
13
aws_image_id:
14
-
description: "The machine AMI to use for your runner. This AMI can be a default but should have docker installed in the AMI. Will not start if not specified."
14
+
description: "The machine AMI to use for your runner. This AMI can be a default but should have docker installed in the AMI. Will not start if not specified. If set to `latest`, `aws_image_name` is required"
15
15
required: true
16
+
aws_image_name:
17
+
description: "The AMI name. Only required if `aws_image_id` is set to latest. Be as specific as possible. For example: Deep Learning Base OSS Nvidia Driver GPU AMI (Ubuntu 24.04)"
16
18
aws_instance_type:
17
19
description: "The type of instance to use for your runner. For example: t2.micro, t4g.nano, etc. Will not start if not specified."
0 commit comments