github / roadmap

GitHub public roadmap
Creative Commons Attribution 4.0 International
7.9k stars 989 forks source link

Actions: Custom VM Images for GitHub-hosted runners generally available #959

Open github-product-roadmap opened 5 months ago

github-product-roadmap commented 5 months ago

Summary

Actions Hosted runners will now include the option to build your own virtual machine image to power your workflows that are run on GitHub Actions. This allows developers to gain control over their supply chain and reduce the average duration of their workflows by customizing the software, tools, and files on Actions Hosted runners before a workflow starts.

Intended Outcome

33% of Actions people run are to set up tools/dependencies on their machine before they even start to download images/packages that their application is dependent on. This takes time on every run of that workflow. With custom images developers can now customize those pre-installed tools, saving time by creating a "pre-warmed" machine.

How will it work?

GitHub's image customization allows developers to use their existing workflow YAML to produce images which can be used as the base for their different developer environments. Developers can use the new syntax to take the state of their current environment and save that to an image to be used in future workflows.