Compute images supported with the CodeBuild-hosted GitHub Actions runner
In the label you configured in Tutorial: Configure a CodeBuild-hosted GitHub Actions runner, you can override your Amazon EC2 environment settings by using the values in the first three columns. CodeBuild provides the following Amazon EC2 compute images. For more information about
Environment type | Image identifier | Instance size | Platform | Resolved image | Definition |
---|---|---|---|---|---|
|
|
|
Amazon Linux 2 | aws/codebuild/amazonlinux2-x86_64-standard:4.0 |
al2/standard/4.0 |
|
|
Amazon Linux 2023 | aws/codebuild/amazonlinux2-x86_64-standard:5.0 |
al2/standard/5.0 |
|
|
|
|
Amazon Linux 2 | aws/codebuild/amazonlinux2-aarch64-standard:2.0 |
al2/aarch64/standard/2.0 |
|
|
Amazon Linux 2023 | aws/codebuild/amazonlinux2-aarch64-standard:3.0 |
al2/aarch64/standard/3.0 |
|
|
|
|
Ubuntu 20.04 | aws/codebuild/standard:5.0 |
ubuntu/standard/5.0 |
|
|
Ubuntu 22.04 | aws/codebuild/standard:6.0 |
ubuntu/standard/6.0 |
|
|
|
Ubuntu 22.04 | aws/codebuild/standard:7.0 |
ubuntu/standard/7.0 |
|
|
|
|
Windows Server Core 2019 | aws/codebuild/windows-base:2019-1.0 |
N/A |
Windows Server Core 2022 | aws/codebuild/windows-base:2022-1.0 |
N/A | |||
|
|
Windows Server Core 2019 | aws/codebuild/windows-base:2019-2.0 |
N/A | |
|
|
Windows Server Core 2019 | aws/codebuild/windows-base:2019-3.0 |
N/A |
In addition, you can override your Lambda environment settings by using the following values. For more information about CodeBuild Lambda compute, see Run builds on AWS Lambda compute. CodeBuild supports the following Lambda compute images:
Environment type | Image identifier | Instance size |
---|---|---|
|
|
|
|
For more information, see Build environment compute modes and types and Docker images provided by CodeBuild.