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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user