1 Commits
Author SHA1 Message Date
clawbot 157bfbdd33 Stamp the tag or short commit in a plain docker build (closes #166)
check / check (push) Successful in 3m45s
.dockerignore now lets .git into the build context, without
.git/config, which can hold a remote URL with a credential. ARG VERSION
has no default: given none, the build stage takes the version from
git describe --tags --always, and fails if the context carries .git
and no version comes out. pixad now logs its name, version and
architecture as its first log line, through the existing
Logger.Identify, which nothing called.

Model: opus-5-5
2026-10-02 03:37:27 +00:00
+4 -1
View File
@@ -1,4 +1,7 @@
# .git is sent so the build can stamp the version, without its config. # .git is sent without its config. Without a VERSION build argument the
# stage that compiles runs `git describe --tags --always` on .git, which
# does not need .git/config; that file can hold a credential, such as a
# password in a remote URL or the token the CI checkout step stores there.
.git/config .git/config
.gitignore .gitignore
.DS_Store .DS_Store