feat: publish version-tagged PHP images for Dependabot - #124
Open
maia-andre wants to merge 1 commit into
Open
Conversation
Draft
6 tasks
Publish ghcr.io/librecodecoop/nextcloud-dev:<version> (and <version>-<sha> for pinning) alongside the existing nextcloud-dev-php8X images. With the PHP version in the tag instead of the image name, consumers can reference a literal tag and let Dependabot's docker ecosystem open the bump PR when a new PHP version image is published. Closes LibreCodeCoop#123 Assisted-by: Claude Code:claude-fable-5 Signed-off-by: André Maia <andrefnkmm@gmail.com>
maia-andre
force-pushed
the
feat/version-tagged-php-images
branch
from
August 23, 2026 00:39
e86e88f to
dd14cf2
Compare
maia-andre
added a commit
to maia-andre/libresign
that referenced
this pull request
Aug 23, 2026
Reference the new ghcr.io/librecodecoop/nextcloud-dev:8.3 image (published by LibreCodeCoop/nextcloud-docker-development#124) with a literal tag instead of interpolating PHP_VERSION into the image name, and add a docker ecosystem entry for /.devcontainer to dependabot.yml. Dependabot only updates version-like tags, never image names, and cannot parse interpolated references — so with the old scheme the devcontainer PHP version could only be bumped by hand (as in LibreSign#8001). Now Dependabot opens the bump PR when a new PHP version image is published. To run the devcontainer with a different PHP version, edit the image tag locally. Ref LibreCodeCoop/nextcloud-docker-development#123 Assisted-by: Claude Code:claude-fable-5 Signed-off-by: André Maia <andrefnkmm@gmail.com>
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.
Closes #123
Changes
Publish a version-tagged image from the same build matrix, in addition to the existing names (nothing currently published changes):
ghcr.io/librecodecoop/nextcloud-dev:8.1,:8.2,:8.3ghcr.io/librecodecoop/nextcloud-dev:<version>-<sha>for pinningWith the PHP version in the tag instead of the image name, consumers (e.g.
LibreSign/libresign's devcontainer) can reference a literal tag likenextcloud-dev:8.3and add adockerecosystem entry to theirdependabot.yml— Dependabot then opens the bump PR automatically whenever a new PHP version image is published here. That is not possible today because Dependabot never rewrites image names, only version-like tags (see #123 for details).Notes for maintainers
mainwill create the newnextcloud-devpackage on GHCR as private by default — it needs its visibility set to public once.nextcloud-dev-php8X:latest/:<sha>continue to be published from the same build (same digest, extra tags only).nextcloud-dev:8.3+ Dependabot config.Assisted-by: Claude Code:claude-fable-5