Repository navigation
Build PHP natively once and promote tested digests - #140
Conversation
|
Independent review passed: reran all 16 contract/unit tests and the real loopback-registry roundtrip. Actual staging pushes and manifest-only promotion preserved the original config digests for both fixture tags and architectures. Reviewed current-attempt artifact layout, all-28-tag metadata validation, same-job derived-parent handling, and downstream needs: publish ordering. Exact-head CI is green for all 24 native groups. Unlike the WordPress/Swoole helpers, this publisher relies on the architecture/image-ID validation at staging and trusted immutable digest artifacts rather than a second remote-platform preflight. No blocking defect identified in that trust boundary. Production Docker Hub credentials, GitHub release-artifact transfer and actual downstream dispatch remain intentionally untested until an authorized default-branch rollout. No merge or production publication performed. |
Purpose
Replace separate QEMU publication builds with native amd64/arm64 builds and tests, then manifest-only promotion of exactly those tested images.
Verification boundary
CI run 43619676090 passed on head
2d61cea42b596ec4a2c703f7de172a4b0180cc73: all 24 native groups (12 amd64 + 12 arm64), 56 PHP runtime image suites, all 32 derived-parent ancestry assertions, 16 unit/contracts tests, actionlint, and generator verification.Publication is not only mocked: the production staging/manifest helper passed a real ephemeral loopback-registry roundtrip with two synthetic tags on both platforms, verifying final manifest membership and original local config digests. The full 28-tag set is tested with mocked Docker commands. Docker Hub credentials/pushes, release-metadata upload/download, stable publication and downstream dispatch remain deliberately unexercised on this PR; all release steps were skipped and no release metadata was uploaded. Normal buildx
.dockerbuilddiagnostic artifacts remain enabled.No production images were published, no downstream dispatches were sent, and this PR is not merged.