-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I noticed that ImageOS
and ImageVersion
environment variables are not populated in the ubuntu24-full-x64
image.
It looks like we're trying to do that in the code however, so I'm not sure why it doesn't work:
runner-images-for-aws/releases/ubuntu24/x64/images/ubuntu/scripts/build/configure-environment.sh
Lines 11 to 13 in 5253e26
# Set ImageVersion and ImageOS env variables | |
set_etc_environment_variable "ImageVersion" "${IMAGE_VERSION}" | |
set_etc_environment_variable "ImageOS" "${IMAGE_OS}" |
I found this issue because the erlef/setup-beam@v1
action will throw the following error when you switch it from ubuntu-latest
to a runs-on
runner using the ubuntu24-full-x64
image:
Tried to map a target OS from env. variable 'ImageOS' (got undefined), but failed. If you're using a self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: ['ubuntu18', 'ubuntu20', 'ubuntu22', 'ubuntu24', 'win19', 'win22']
Unfortunately, I can't easily share the repro because it is closed code. That said if we need one, I'm happy to produce it.
Metadata
Metadata
Assignees
Labels
No labels