From 1c444086dd2bf71c0104b1ace4f1a5f0f86de6b8 Mon Sep 17 00:00:00 2001 From: garionion Date: Sat, 14 Aug 2021 20:20:44 +0200 Subject: [PATCH] link static enable debug output for docker image build --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d75aef4..9b6bd4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,7 @@ steps: - name: build image: golang commands: - - go build + - CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' . - go test ./... - name: publish @@ -18,3 +18,4 @@ steps: from_secret: docker_username password: from_secret: docker_password + debug: true \ No newline at end of file