Add cross-platform prebuilt release workflow
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled

This commit is contained in:
Ilya Groshev
2026-05-22 23:12:08 +03:00
parent 810adcf990
commit 2d0c0d8ef0
9 changed files with 368 additions and 130 deletions
+6 -2
View File
@@ -120,8 +120,12 @@ func main() {
colorCyan = ""
}
log.Println("building services...")
buildAll()
if _, err := os.Stat("go.mod"); err == nil {
log.Println("building services...")
buildAll()
} else {
log.Println("prebuilt mode: skipping build, using bin/ from archive")
}
ext := binExt()
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)