ci: stop tracking the built binary

`go build ./...` writes the binary into the package directory under the
package's own name, so a routine build followed by `git add -A` committed
12MB of darwin/arm64 Mach-O to a repo whose image is built linux/amd64
from source by the Dockerfile. It has been dead weight in the build
context ever since, and `COPY . .` was shipping it to the builder only
for `go build` to overwrite it.

The artifact is never an input. Only the source is.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
zeekay
2026-07-28 17:00:32 -07:00
co-authored by Hanzo Dev
parent 92143e5e8b
commit fffae20a9e
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# `go build ./...` writes the binary into the package directory, named after the
# package — which is how a 12MB darwin/arm64 `ci` came to be committed here, in
# a repo whose image is built linux/amd64 from source by the Dockerfile. The
# artifact is never an input to anything; only the source is.
/ci
BIN
View File
Binary file not shown.