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