From 5c685ae2553cbb7b3daa3df20123f3a6dc07dbb9 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Tue, 7 Apr 2020 23:15:47 +0200 Subject: [PATCH] updated .drone.yml --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 593b223..f0b9ed0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,16 +10,14 @@ platform: steps: - name: build image: golang + environment: + GOOS: linux + GOARCH: amd64 commands: - mkdir dist - go build -o dist/qrz-${DRONE_TAG}-${GOOS}-${GOARCH} -mod=vendor -ldflags="-s -w" cmd/qrz/*.go - cd dist - tar -czvf qrz-${DRONE_TAG}-${GOOS}-${GOARCH}.tar.gz - environment: - - GOOS=linux - - GOARCH=amd64 - when: - event: tag - name: release image: plugins/gitea-release settings: