diff --git a/.drone.yml b/.drone.yml index b846934..b169d2d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,7 @@ name: default steps: - name: greeting + group: echo image: alpine commands: - echo hello @@ -11,11 +12,13 @@ steps: - echo done - name: en + group: echo image: alpine commands: - echo hello world - name: fr + group: echo image: alpine commands: - echo bonjour monde @@ -23,10 +26,12 @@ steps: - name: build image: golang:1.17-alpine pull: if-not-exists + environment: + CGO_ENABLED: 0 + GOOS: linux + GOARCH: amd64 commands: - - export CGO_ENABLED=0 - - export GOOS="linux" - - export GOARCH="amd64" + - echo env - go build -ldflags="-s -w" -tags timetzdata -o app main.go - name: publish