-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(images): automatically find latest GitHub Runner version when building images #3129
Conversation
06cbfee
to
f48d82c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gautamg795 looks good to me. Please go ahead with updating the other image examples
fyi @npalm, I've made the requested updates and this should be ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one smale change request.
Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
This requires using a newer version of
packer
to get thehttp
data source, but this now allows an operator to omit therunner_version
variable and still ensure that the built image is using the newest runner, removing the need for an autoupdate when the runner starts up.Previous behavior of overriding the variable when desired is maintained.