build-git-installers: target an older Ubuntu version #719
+2
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, we target whatever GitHub Actions use as
ubuntu-latest
; This, however, led to the unintentional requirement in v2.47.2.vfs.0.0 to run Ubuntu 24.04 (up from 22.04 in v2.47.1.vfs.0.1).It is important to target a wider audience, though, especially in light of CVE-2024-52005 which is only addressed in Git for Windows and
microsoft/git
, but not Git.We could now go back to 22.04; This would only be a temporary band-aid, https://github.blog/changelog/2025-01-15-github-actions-ubuntu-20-runner-image-brownout-dates-and-other-breaking-changes/ already announced that 20.04 is phased out very soon, and 22.04 will be next.
Let's just use a Docker container instead that targets the oldest Ubuntu LTS that is still maintained in some shape or form.
We still verify in
validate-installers
that the resulting binary installs and works on the latest Ubuntu version by virtue of usingruns-on: ubuntu-latest
in that matrix job.