Repository navigation
build: pin uv image version - #58
Merged
Merged
Conversation
Release builds copied uv from ghcr.io/astral-sh/uv:latest, so each build picked up whatever uv was current. Pin both stages to 0.12.23 by tag and multi-arch index digest; Renovate's dockerfile manager keeps both updated.
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
Both Dockerfile stages copied uv from
ghcr.io/astral-sh/uv:latest, so every release build picked up whatever uv happened to be current. This pins them toghcr.io/astral-sh/uv:0.12.23@sha256:61d393e44e249f2e4b526b6c7ddcecce245946826e608e11c93ad4f5bba55b21(the multi-arch index digest, so amd64 and arm64 builds both resolve).uv_build>=0.12,<0.13range.renovate.jsonextendsconfig:recommendedwith no overrides, so Renovate's dockerfile manager tracksCOPY --from=image:tag@digestand will bump tag and digest together.cab/Dockerfiledoes not use uv; no workflow or doc references the:latesttag.Verification
docker build .succeeds.uv --versionin the built image:uv 0.12.23 (aarch64-unknown-linux-musl).-p 18765:8000;GET /returned 200 and granian logged a clean startup.🤖 Generated with Claude Code