build: persist Go build cache across Docker release builds

Mount .gocache/ from the host into the builder container so --rm
container removal no longer wipes GOCACHE between runs.
This commit is contained in:
mixeme
2026-07-26 13:58:26 +03:00
parent 33a246cd13
commit e87840e95b
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -1,6 +1,9 @@
# Build outputs
dist/
# Persistent Go build cache for Docker-based release builds.
.gocache/
# Generated Windows resource compiled from packaging/windows/gosentry.rc.
cmd/gosentry/*.syso