runs-on / runner-images-for-aws

GitHub Action Runner images for AWS
12 stars 4 forks source link

Availablity of Ubuntu24.04 images #3

Open willcl-ark opened 2 weeks ago

willcl-ark commented 2 weeks ago

Ubuntu 24.04 images are available on GH runners: https://github.com/actions/runner-images?tab=readme-ov-file#available-images

...but I don't know how to select them in runs-on. Are they available to select somehow?

Thanks in advance :)

crohr commented 2 weeks ago

Not yet, but they will be soon!

willcl-ark commented 2 weeks ago

Excellent news, thanks.

aledbf commented 3 days ago

@crohr is there any public beta AMI image available? (I need cgroups v2 enabled by default) Thanks

crohr commented 2 days ago

@aledbf @willcl-ark hello, ubuntu24 images are now available. They are not yet declared as official images in RunsOn, so for now you would first have to declare them as custom images in your .github/runs-on.yml config file:

images:
  ubuntu24-beta-x64:
    platform: "linux"
    arch: "x64"
    owner: "135269210855"
    name: "runs-on-v2.2-ubuntu24-full-x64-*"
  ubuntu24-beta-arm64:
    platform: "linux"
    arch: "arm64"
    owner: "135269210855"
    name: "runs-on-v2.2-ubuntu24-full-arm64-*"

(I'm using beta instead of full since I don't want those to conflict with the official image names when they'll be integrated in RunsOn).

And then in your workflows:

jobs:
  test:
    runs-on:
      - runs-on
      - runner=2cpu-linux-x64
      - image=ubuntu24-beta-x64
      - run-id=${{ github.run_id }}