From d26b7a5ebcbcde2f74eda2bb4316dc9625812724 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Tue, 3 Sep 2024 20:09:09 +0200 Subject: [PATCH] updated .drone.yml --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index fe80c2a..b1e9438 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,7 @@ steps: commands: - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES environment: + CGO_ENABLED: 1 GOOS: linux GOARCH: amd64 GOOPTIONS: -mod=vendor @@ -23,6 +24,7 @@ steps: commands: - go build -o $PROJECTNAME $GOOPTIONS $SRCFILES environment: + CGO_ENABLED: 1 GOOS: linux GOARCH: arm64 GOOPTIONS: -mod=vendor @@ -46,6 +48,7 @@ steps: - tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME - echo $PROJECTNAME $DRONE_TAG > VERSION environment: + CGO_ENABLED: 1 GOOS: linux GOARCH: amd64 GOOPTIONS: -mod=vendor @@ -61,6 +64,7 @@ steps: - tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME - echo $PROJECTNAME $DRONE_TAG > VERSION environment: + CGO_ENABLED: 1 GOOS: linux GOARCH: arm64 GOOPTIONS: -mod=vendor