Skip to content

ci: move image builds to ubuntu-26.04 - #4881

Merged
castrojo merged 1 commit into
mainfrom
castrojo/ubuntu-2604
Aug 7, 2026
Merged

ci: move image builds to ubuntu-26.04#4881
castrojo merged 1 commit into
mainfrom
castrojo/ubuntu-2604

Conversation

@castrojo

@castrojo castrojo commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

One line: runs-on: ubuntu-24.04ubuntu-26.04 in reusable-build.yml.

Why

The ubuntu-24.04 runner image (20260804.265) stopped installing podman from apt and now ships it as a static bundle in /usr/local/bin. The Justfile only probes /usr/bin/podman, so builds silently fell back to docker, whose overlay2 driver caps stacked lower dirs at 128. silverblue-main:44 has 259 layers, so every Latest build died at the FROM line with max depth exceeded.

Ubuntu 26.04 installs podman from apt, so it lands back at /usr/bin/podman:

if is_ubuntu26; then
    # apt already provides a current podman on 26.04
    apt-get install podman buildah skopeo

Dependency check

Everything reusable-build.yml relies on is present on ubuntu26/20260804.94:

24.04 26.04
Podman 5.8.4 (/usr/local/bin) 5.7.0 (/usr/bin)
Homebrew 6.0.15, /home/linuxbrew 6.0.15, /home/linuxbrew
Buildah 1.33.7 1.42.1
Skopeo 1.13.3 1.21.0-dev
jq 1.7.1 1.8.1
yq 4.53.3 4.53.3

The hardcoded /home/linuxbrew/.linuxbrew/bin/brew path used by the Install Just step is unchanged on 26.04.

Note

ubuntu-26.04 is currently public preview.

Assisted-by: Claude Opus 5 via GitHub Copilot CLI

Ubuntu 26.04 ships podman 5.7.0 from apt at /usr/bin/podman, whereas the
24.04 runner image now installs it as a static bundle in /usr/local/bin.
The Justfile only probes /usr/bin/podman, so builds on 24.04 silently fell
back to docker and failed with "max depth exceeded" once the F44 base
image grew past overlay2's 128 layer cap.

Assisted-by: Claude Opus 5 via GitHub Copilot CLI

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 7, 2026 01:10
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. kind/github-action Anything having to do with GHA and automation labels Aug 7, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI reusable image-build workflow to run on the ubuntu-26.04 GitHub-hosted runner image, aiming to restore Podman availability at the expected path and prevent builds from falling back to Docker.

Changes:

  • Switch reusable-build.yml job runner from ubuntu-24.04 to ubuntu-26.04.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

build_container:
name: image
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
@castrojo
castrojo merged commit 92415db into main Aug 7, 2026
13 checks passed
@castrojo
castrojo deleted the castrojo/ubuntu-2604 branch August 7, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/github-action Anything having to do with GHA and automation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants