How can I programatically determine the image version? #7661
-
I'm specifically referring to the step "Set up job" in "Virtual Environment" -> "Version". I'd like to use this value in my workflow but I can't find a way to access this information. |
Beta Was this translation helpful? Give feedback.
Answered by
vpolikarpov-akvelon
Jun 6, 2023
Replies: 1 comment 1 reply
-
Hi, @dundargoc. There are environment variables |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dundargoc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, @dundargoc. There are environment variables
$ImageOS
and$ImageVersion
available in all types of runners hosted by GitHub. Is it what you are looking for?