Repository navigation
Conversation
docker/php/<tag> now holds the Dockerfiles of webdevops/php; docker/php-official and the links between the two directories are gone. The CI publishes the image as webdevops/php-official only for the tags listed under "docker: aliases" in conf/console.yml (8.2 to 8.5 and their -alpine tags), so new PHP versions get no php-official tag. - FileReader reads the deprecated names from conf/console.yml instead of renaming *-official images; generate:github-ci stops if the list names a tag that is not built. - ImageLinks is removed. - The published tags and the build jobs stay the same; only the build context of the php jobs changes from docker/php-official/<tag> to docker/php/<tag>. - docs/discontinued-images.md describes the deprecation and the migration.
…mage tests - generate:github-ci stops if a deprecated name is built as an image of its own (docker/php-official/<tag>), which would publish new tags under it. - The alias list rejects an empty name and a name equal to its image; it is read once per FileReader. - ImageTests maps a deprecated name to its image through the alias list instead of removing "-official" from the name. - docs/discontinued-images.md: no statement about unpublished tags; the migration keeps the tag only for 8.2 to 8.5, older php-official tags move to a PHP version that is still built. - Tests: removing a built tag that the list still names, a symbolic link as tag directory in the Provisioner, symbolic links in the fixture stay links.
docs/discontinued-images.md names PHP 8.6 as the first version that is only published as webdevops/php again, and both pages advise switching to webdevops/php now.
…est:image - "docker: aliases" in conf/console.yml: the deprecated name and the image have to be image names in lower case, a tag must not be listed twice, and each error names the entry and what is wrong with it. - ci/console test:image stops for a deprecated name with a tag that is not published under it, e.g. webdevops/php-official:8.6. - ImageTests reads the alias list once; GithubJobBuilder keeps one ImageTests. - Tests: DockerfileGenerator and FileReader leave out a symbolic link as tag directory; the redundant Provisioner case is gone. - CONTRIBUTING.md: generate:github-ci stops for a tag directory in docker/php-official with a Dockerfile, not for any such directory.
Kanti
force-pushed
the
chore/deprecate-php-official
branch
from
November 17, 2026 12:54
6523239 to
71f370f
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Summary
webdevops/php-officialis deprecated: it is the same image aswebdevops/php, published under a second name. This PR keeps that name for the existing tags 8.2–8.5 (Debian and Alpine) and stops it from getting new tags, so PHP 8.6 (#594) is only published aswebdevops/php.The source layout now follows the published name: the Dockerfiles live in
docker/php/<tag>instead ofdocker/php-official/<tag>, and the symbolic links between the two directories are gone.Changes
docker/php-official/<tag>moves todocker/php/<tag>(renames, contents unchanged; the generated header now sayswebdevops/php:<tag>).conf/provision.yml:php-officialbecomesphp.conf/console.yml: newdocker: aliaseswith the deprecated name, the image it names and the tags it is still published for (8.2to8.5and their-alpinetags).FileReaderadds the alias from that list instead of renaming*-officialimages.generate:github-cistops if the list names a tag that is not built, so dropping a PHP version also removes it from the list, and if a deprecated name is built as an image of its own (for example adocker/php-official/8.6from an older branch), so the name cannot get new tags by accident.ImageTestsresolves a deprecated name to its image through the same list:ci/console test:image webdevops/php-official:8.5runs the tests ofphp.ImageLinksand its test are removed;TagDirectoriesstill leaves symbolic links out (now with a test of its own).docker/php; new tests for the alias list (listed tags only, no new tags, invalid list, alias of a removed tag, deprecated name built as an image of its own) and for symbolic links inTagDirectoriesand theProvisioner.docs/discontinued-images.md(new section: switch towebdevops/phpnow, keeping the tag for 8.2–8.5; the older tags5.6to8.1move to a PHP version that is still built),docs/images/php.md,docs/README.md,CONTRIBUTING.md,AGENTS.md.Effect on the published images
None for the existing tags. The generated workflow has the same 119 jobs; only the build context of the 8
php_*jobs changes fromdocker/php-official/<tag>todocker/php/<tag>. The pushed tags (-tlines) are identical, including the 16php-officialtags (Docker Hub and ghcr.io). The Dockerfiles andconf/files are unchanged apart from the header comment.Verification
php-officialis the same image asphpwebdevops/php:8.5andwebdevops/php-official:8.5have the same digest on Docker Hub (sha256:9e539622…), as do the8.5-alpinetags (sha256:42ef0822…)php-officialtags5.6to8.1forphp-official; the workflow builds none of them under either namephp-officialtag after 8.5docker manifest inspect webdevops/php-official:8.6finds nothing; the workflow publishesphp-officialonly for 8.2–8.5master: identical apart from thecontextpath of the 8php_*jobs; the same 138-ttagsmake generateproduces no further diff; Dockerfiles andconf/are renames with only the header changedmake checkpassesAfter merging
webdevops/php-official.docker/php/8.6anddocker/php/8.6-alpineand get nophp-officialtag.