feat: semi-automated Alpine base image minor/major update workflow#317
Draft
feat: semi-automated Alpine base image minor/major update workflow#317
Conversation
Up to standards ✅🟢 Issues
|
… updates Agent-Logs-Url: https://github.com/jimsihk/alpine-php-nginx/sessions/e1e5093c-c4e8-4646-b25c-291e21bce1a6 Co-authored-by: jimsihk <99048231+jimsihk@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add semi-automated workflow for updating Alpine dependencies
feat: semi-automated Alpine base image minor/major update workflow
Apr 5, 2026
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.
Alpine minor/major version bumps require coordinated updates across the
FROMimage tag, Renovate comment prefixes (alpine_X_Y/), and all pinned package versions — none of which Renovate handles atomically.Changes
.github/workflows/update-alpine.yml(new)0 6 * * *UTC) +workflow_dispatchX.Y.Z; compares major/minor only against current Dockerfile — ignores patch bumps (handled by Renovate)alpine:<new-version>container and runsapk search -e <pkg>for every tracked package to resolve current versions in the new Alpine reposedpasses to the Dockerfile:FROMimage tags → new versiondepName=alpine_3_22/renovate comment prefixes →depName=alpine_3_23/(keeps Renovate functional for subsequent patch tracking)ARG/ENVversion values → queried package versions (no-op per package if not found, surfaced as CI failure)chore/update-alpine-X.Y.Zoffdevand opens a PR; existingtest-pr.ymlCI gates mergerenovate.json(modified)minorandmajorupdates — prevents conflicting duplicate PRspatchauto-merge and all other package version tracking via Renovate comments are unchanged{ "matchPackageNames": ["alpine"], "matchUpdateTypes": ["minor", "major"], "enabled": false }