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