change .drone.yml steps
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f43ef19099
commit
c57055a203
@ -24,9 +24,12 @@ steps:
|
||||
image: golang:1.17-alpine
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build -ldflags="-s -w" -tags timetzdata -o app main.go
|
||||
- export CGO_ENABLED=0
|
||||
- export GOOS="linux"
|
||||
- export GOARCH="amd64"
|
||||
- go build -ldflags="-s -w" -tags timetzdata -o app main.go
|
||||
|
||||
- name: docker
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: esinio/helloworld
|
||||
|
Loading…
x
Reference in New Issue
Block a user