Add weekly scheduled rebuild for UV-based images (closes #203)#207
Merged
Conversation
fredvd
approved these changes
Apr 17, 2026
mauritsvanrees
added a commit
that referenced
this pull request
May 8, 2026
Member
|
I guess once 6.2.0 final has been released, we should switch this action workflow to the 6.2.x branch. For now, I have only copied the README change and added it in my PR #210 for 6.2.0rc2. |
Member
|
@ericof @mauritsvanrees I think we should also keep updating the 6.1 image weekly as long as 6.1 is considered to be in security support. |
Member
Author
I think we should do it, but this is going to be a major refactoring (if we want to do it for tags) |
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
Wire up the weekly rebuild promised in #203:
.github/workflows/schedule-uv.ymlon the default branch. It fires weekly on Mondays at 05:00 UTC (and can be triggered manually) and dispatchesrelease-uv.ymlon theuvbranch viagh workflow run ... --ref uv.README.md.Why a dispatcher workflow instead of a
schedule:onrelease-uv.ymldirectly?GitHub Actions only fires
schedule:triggers from workflow files on the default branch.release-uv.ymllives on theuvbranch, so aschedule:trigger added there would silently never fire. Landing the schedule on6.1.xand having it dispatch the uv-branch workflow viaworkflow_dispatchkeeps the build logic where the source lives and avoids duplicating the matrix build on two branches.The dispatch step relies on a documented exception:
workflow_dispatchevents fired by the defaultGITHUB_TOKENdo start new workflow runs (most other token-triggered events don't). No PAT is required — justpermissions: actions: write.Tag strategy
image-release.ymlalready tags images asplone/server-{builder,prod-config}:uv-<python>, so scheduled rebuilds transparently overwrite the existing tags. Consumers pullinguv-3.13always get the most recent rebuild, which matches the goal of "stay in sync with upstream".Test plan
Schedule UV image rebuildappears in the Actions tab on6.1.x.workflow_dispatchand confirm it successfully dispatchesrelease-uv.ymlon theuvref.plone/server-builder:uv-3.12(and siblings) on GHCR and Docker Hub.Closes #203