mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Add cross-platform prebuilt release workflow
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user