Skip to content

Drop the end-of-life 7.4, 8.0 and 8.1 CLI images - #13

Merged
michaelaguiar merged 2 commits into
mainfrom
drop-eol-cli
Oct 21, 2026
Merged

michaelaguiar merged 2 commits into
mainfrom
drop-eol-cli

Conversation

@michaelaguiar

Copy link
Copy Markdown
Member

Summary

PHP 8.1 and older are past end of life. The 7.4, 8.0 and 8.1 CLI images are built on end-of-life Alpine releases (3.15 and 3.16), so rebuilding them changes nothing. They carry none of the PHP security fixes since those versions ended, including CVE-2026-109618/109619.

Nothing in use pulls them:

  • no project in ~/Projects/Web references them (one commented-out 7.4-dev line in aerohealth.ecm, which builds its own image);
  • the plain 7.4-cli, 8.0-cli and 8.1-cli tags were already removed from the registry in the 2026-10-15 cleanup.

This follows #6, which dropped the FPM images.

Changes

  • Deletes php/7.4, php/8.0 and php/8.1.
  • .github/workflows/build-and-push.yml:
    • removes their change-detection entries, build-base matrix rows, build_php_74/80/81 dispatch inputs and summary lines;
    • removes the eol matrix flag Rebuild every image weekly #12 added, since only these rows used it.
  • README: removes the three rows from the image table and the "7.4–8.1" mentions. It notes that their last -latest tags are left in the registry, unmaintained.

Not changed: the existing 7.4/8.0/8.1-cli-latest and -a271214… tags in GHCR are kept, so anything still pulling them keeps working. Deleting them is a separate decision.

⚠️ Merge timing

This PR changes the workflow. Don't merge it while a build-and-push run is in progress. The new run cancels the running one, and since no Dockerfile changed, it doesn't rebuild what was cancelled. That's what happened to #11's images. The manual 8.3–8.5 run (39686873290) should finish first.

Test plan

  • actionlint 1.7.7: no new findings. Shellcheck notes went from 21 to 18, because the three removed summary lines had them.
  • Nothing outside the removed directories mentions 7.4, 8.0 or 8.1, build_php_74/80/81 or eol.

PHP 8.1 and older are past end of life and the images sit on EOL Alpine
branches, so rebuilding them changes nothing and they carry none of the
PHP security fixes since. Nothing in use pulls them, and the plain
7.4/8.0/8.1-cli tags were already pruned from the registry on
2026-10-15.

Remove their Dockerfiles, their change-detection entries, matrix rows,
force-build inputs and summary lines, and the eol matrix flag that only
they used. The published -latest tags stay in the registry, unmaintained.
Say the old -latest tags are unpatched and where to move, describe the
cli images without repeating 8.3-8.5 and the schedule, and drop a
workflow comment parenthetical that only explained the EOL exception.
@michaelaguiar

Copy link
Copy Markdown
Member Author

Review round 1 (single round)

A reviewer with fresh context checked this PR with code-review at high effort. It found no P1 or P2 issues.

Confirmed holds

  • Nothing in the repo still refers to 7.4/8.0/8.1, build_php_74/80/81 or eol.
  • Every remaining force_input maps to an existing dispatch input.
  • The build-base condition behaves identically for 8.3–8.5 on push, dispatch and schedule: an unset eol already made !matrix.eol true.
  • actionlint reports nothing new.
  • The registry claims are accurate: -latest and -a271214… exist, and the plain tags are gone.

Findings, all P3 and all fixed in 19e0728

  • The CLI bullet repeated "8.3–8.5" and the weekly schedule. It's now one description.
  • The README didn't say the kept EOL tags are unpatched. It now says so and points to 8.3-cli or newer.
  • A workflow comment had a parenthetical that only explained the removed EOL exception. It's removed.

The skill's other findings were checked and dropped:

  • The plain tags really are absent from the registry.
  • The merge-timing warning is already in the PR body.
  • Removing the dispatch inputs is intended.
  • A general eol mechanism is a design preference.

@michaelaguiar
michaelaguiar marked this pull request as ready for review October 21, 2026 22:45
@michaelaguiar
michaelaguiar merged commit cd160e0 into main Oct 21, 2026
2 checks passed
@michaelaguiar
michaelaguiar deleted the drop-eol-cli branch October 21, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant