Stamp the release version into the image #15
Loading…
Reference in a new issue
No description provided.
Delete branch "b/version-buildarg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🤖 Claude AI Code Review
Summary
Adds
--build-arg APP_VERSIONto the docker build command to stamp the release version into the image.Code Quality ⭐⭐⭐⭐☆
Minimal, focused change using a clean parameter expansion to strip the
vprefix.Issues
🟡 deploy.yml —
${TAG}variable not visible in diff. ConfirmTAGis defined/exported earlier in this step (and that the Dockerfile declares anARG APP_VERSIONbefore its use), otherwise the build arg will resolve to empty.Assuming
TAGis set elsewhere in the workflow and the Dockerfile has a matchingARG APP_VERSION, this is good to merge.📊 Tokens: 1016 input + 272 output | 💰 Cost: ~$0.0119
Generated by Claude Opus 4.8 via Gitea Actions