From 0055e724e95d1bad194d2269870a1fe571759d59 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 00:56:55 +0700 Subject: [PATCH] fix build butler --- build/ci/.drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 90a9bff..8c3094a 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -21,7 +21,7 @@ steps: settings: envs: [ TELEGRAM_TOKEN,POSTGRES_URL_CONNECT ] commands: - - go build -o butler cmd/butler/main.go + - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o butler cmd/butler/main.go - touch .env - echo TELEGRAM_TOKEN=$${TELEGRAM_TOKEN} >> .env - echo POSTGRES_URL_CONNECT=$${POSTGRES_URL_CONNECT} >> .env