-
Notifications
You must be signed in to change notification settings - Fork 0
Bump php-extension-installer #5
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ on: | |
| jobs: | ||
| multiarch-build: | ||
| name: Build images | ||
| runs-on: ubuntu-22.04 | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Security hardening: pin Actions by commit SHA Pin third-party actions to immutable commit SHAs to mitigate supply-chain risk. Keep a comment with the tag name for readability. Example (replace with actual SHAs from the action’s releases page):
Also applies to: 26-26, 35-35 |
||
|
|
||
|
|
||
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.
💡 Verification agent
🧩 Analysis chain
Runner bump to ubuntu-24.04: verify availability and GA status for your org
ubuntu-24.04 runners have been rolling out; ensure it’s GA for your repo/org and not restricted. Also confirm your buildah/qemu steps behave the same under 24.04.
Run this web check to confirm GA status:
🌐 Web query:
💡 Result:
ubuntu-24.04is now generally available as a supported runner label for GitHub Actions, and all users can use it for workflows by specifyingruns-on: ubuntu-24.04. This release introduces several changes compared toubuntu-22.04, notably a significantly trimmed pre-installed package list, which can lead to breaking changes for common build tools such asbuildahandqemu[1][3][5].Essential context and details
General Availability:
The
ubuntu-24.04runner image is out of preview and generally available. You can specify it directly in your workflow:This is officially supported by GitHub and the label is not a preview[1][5].
Migration of
ubuntu-latest:GitHub is actively migrating the
ubuntu-latestlabel from Ubuntu 22.04 to 24.04 throughout Fall 2024. This means any workflows usingubuntu-latestwill soon default toubuntu-24.04, potentially exposing breakages if workflows depend on outdated assumptions[1][3].Breaking Changes Affecting Build Tools
Reduced Pre-Installed Packages:
A critical change is that the Ubuntu 24.04 runners have a “significantly trimmed” pre-installed package list compared to Ubuntu 22.04. Many tools that were previously present by default may now need to be installed explicitly in your workflow—a shift from previous best practice[3].
Docker/QEMU/Buildah Specific Issues:
There are confirmed reports of Docker, Buildah, and QEMU-related jobs failing on GitHub-hosted Ubuntu 24.04 runners, particularly for cross-architecture builds (e.g., using QEMU or Docker Buildx for ARM64 targets on x86_64 hosts).
Workarounds currently suggested:
runs-on: ubuntu-22.04where issues are encounteredqemu-user-static,buildah, etc.) at the start of your workflowKernel and System-Level Changes:
The new runner image brings a newer kernel (6.7/6.8), updated GNOME, and system package versions, which can affect compatibility for low-level tools[2][6].
What to do when migrating
Audit your workflow for dependencies:
If your job relies on pre-installed tools (especially container or virtualization tooling), explicitly add installation steps to ensure reproducibility.
Check the runner image’s installed software list:
Review the [official runner image documentation](see: github/actions/runner-images) for the specific package set included with
ubuntu-24.04—do not assume parity withubuntu-22.04[1].Expect and test for breaking changes:
Summary of changes and risks
In conclusion:
If you rely on containerization tools or cross-platform emulation (QEMU/Buildah/Docker/buildx), you should test workflows thoroughly on
ubuntu-24.04before switching, and expect to update your workflows to install more dependencies than you previously did. For reliability,ubuntu-22.04is still available for the time being[1][3][5][7].Citations:
Runner bump to ubuntu-24.04: confirm GA support and install missing container tools
ubuntu-24.04 runners are now generally available (GA) and will become the default for
ubuntu-latestin Fall 2024. However, they include a significantly trimmed package set compared to 22.04, which can break Buildah/QEMU/Docker-based workflows. Please update.github/workflows/multiarch-build.yamlas follows:• Confirm that
runs-on: ubuntu-24.04is supported in your org (it’s GA for all users).• Add explicit installation of container/emulation tools before your multi-arch build steps. For example:
• Run your QEMU and Buildah steps on the 24.04 runner to verify they succeed.
• If you encounter failures, either pin back to
ubuntu-22.04or use a self-hosted runner with the required dependencies.🤖 Prompt for AI Agents