ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Use latest GitHub runner build

Open snussik opened this issue 4 years ago • 3 comments

In current release you use runner version hardcoded in aws.js. And its version is older than latest. It'd be great to programmatically get the latest release for usage. GitHub API gives us this information: curl -s -X GET 'https://api.github.com/repos/actions/runner/releases/latest' It could be parsed directly, or with jq script or by octokit.

snussik avatar Jan 08 '21 14:01 snussik

@snussik great that you brought up this topic! Thank you! 🙏 Will try to handle that soon.

machulav avatar Jan 08 '21 16:01 machulav

Would it make sense to have a version fixed in our AMI instead? or maybe a download URI with a default? My organization is a bit wary about downloading things off of the web for every build. Maybe a separate enhancement?

jdraymon avatar Mar 08 '21 17:03 jdraymon

Hello, is there some help wanted on this ?

I was just thinking this could be an action input parameter being either "latest" or a specific release version (for people wanting to freeze a certain runner version but not wanting to maintain an ec2 image and so reinstall each time)

IceTDrinker avatar Dec 09 '21 17:12 IceTDrinker