Skip to content

feat: publish version-tagged PHP images for Dependabot - #124

Open
maia-andre wants to merge 1 commit into
LibreCodeCoop:mainfrom
maia-andre:feat/version-tagged-php-images
Open

feat: publish version-tagged PHP images for Dependabot#124
maia-andre wants to merge 1 commit into
LibreCodeCoop:mainfrom
maia-andre:feat/version-tagged-php-images

Conversation

@maia-andre

@maia-andre maia-andre commented Aug 23, 2026

Copy link
Copy Markdown

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.3
  • ghcr.io/librecodecoop/nextcloud-dev:<version>-<sha> for pinning

With the PHP version in the tag instead of the image name, consumers (e.g. LibreSign/libresign's devcontainer) can reference a literal tag like nextcloud-dev:8.3 and add a docker ecosystem entry to their dependabot.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

  • The first push to main will create the new nextcloud-dev package on GHCR as private by default — it needs its visibility set to public once.
  • Existing consumers keep working unchanged: nextcloud-dev-php8X:latest / :<sha> continue to be published from the same build (same digest, extra tags only).
  • Follow-up on the consumer side: chore(devcontainer): use version-tagged image so Dependabot can bump PHP LibreSign/libresign#8033 switches the devcontainer to nextcloud-dev:8.3 + Dependabot config.

Assisted-by: Claude Code:claude-fable-5

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
maia-andre force-pushed the feat/version-tagged-php-images branch from e86e88f to dd14cf2 Compare August 23, 2026 00:39
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>
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.

Publish version-tagged PHP images so Dependabot can keep consumers updated

1 participant