Skip to content
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ixfd64
Comment options

Answer selected by ixfd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner Images For topics related to images used by GitHub Actions runners Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants