-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Breaking changes
The third party repository for PHP will be removed from the Ubuntu 22.04 image in favor of the official Ubuntu software repository.
Target date
October, 31. The propagation will take 2-3 days.
The motivation for the changes
GitHub is tightening security on our images and will only use official sources for packages we install on our runner images going forward.
Possible impact
GitHub will not be able to add / pre-cache more versions of PHP on images in the future than what the Ubuntu repository offers. If your build depends on a pre-installed PHP version that is not the most up-to-date, they may break in the future. (for example there are 3 PHP versions pre-cached on Ubuntu 20.04 but this will not be the case for Ubuntu 22.04)
Platforms affected
- Azure DevOps
- GitHub Actions
Runner images affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 10.15
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Mitigation ways
GitHub recommends using the setup-php action for any customers who want to use any other (non-installed) versions of PHP or want to get latest PHP faster.