Commit Graph
2 Commits
Author SHA1 Message Date
sneak 2aca0c981d Derive the image's version from the .git in the build context (closes #366)
check / check (push) Waiting to run
upaas uploads its clone as a tar context, which .dockerignore does not
filter, so its builds already carried .git; the binary said "unknown"
because the VERSION build arg defaulted to "unknown". The old .git/
exclusion kept .git out of a directory-context build only. .dockerignore
now lets .git through without its config, which can carry a credential,
and leaves out no tracked file (an excluded one would read as deleted and
mark the version -dirty). The VERSION build arg loses its "unknown"
default, so script/version derives the version inside the build; a given
VERSION still takes precedence.

The builder stage installs git, trusts the copied checkout whoever owns
its files, and fails when its context carries .git and the version still
comes out "unknown". The CI fingerprint is now the commit being checked.

Model: opus-5-5
2026-10-02 05:57:19 +00:00
clawbot ee2276a912 Stamp the build version into the binary (closes #253)
check / check (push) Successful in 3m12s
2026-08-24 03:15:20 +02:00