-
Why are you starting this discussion?Question What GitHub Actions topic or product is this about?Actions Runner Image Discussion DetailsIs there a way to check which specific runner image will be used before a workflow is run? Google directs me to the releases page, but my understanding is there is a lag of a few days between when a release is created and when it goes live. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can’t check the exact runner image version that will be used ahead of time, but you can check the version that is currently live at the start of a workflow. A couple of options: Log the image version inside your workflow jobs: This will tell you which exact image release your job got. Check the live image rollout docs When a release is created there, it doesn’t go live instantly — there’s usually a lag of a few days for rollout. The “image release rollout” documentation Use actions/runner-images issue tracker for rollout status 👉 In short: you can’t know in advance which image your workflow will use, only which one it did use once the job starts. If you need consistency, the recommended approach is to pin to a container image or self-hosted runner instead of relying on ubuntu-latest/windows-latest. |
Beta Was this translation helpful? Give feedback.
You can’t check the exact runner image version that will be used ahead of time, but you can check the version that is currently live at the start of a workflow.
A couple of options:
Log the image version inside your workflow
GitHub Actions publishes the image build version as an environment variable on hosted runners. You can expose it with a simple step:
jobs:
check-runner:
runs-on: ubuntu-latest
steps:
- name: Show runner image info
run: |
echo "Image release: $ImageVersion"
echo "Image release URL: $ImageOS"
This will tell you which exact image release your job got.
Check the live image rollout docs
The actions/runner-images releases page
lists the latest published images.
When a relea…