Add worksapce to drone.yml
This commit is contained in:
parent
a6d7c05b59
commit
d8f00ba2a6
@ -1,6 +1,10 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
base: /go
|
||||||
|
path: src/deadbeef.codes/steven/mandelmapper
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
@ -9,7 +13,6 @@ steps:
|
|||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOPATH: /drone/src
|
|
||||||
commands:
|
commands:
|
||||||
- go version
|
- go version
|
||||||
- go get
|
- go get
|
||||||
|
Loading…
Reference in New Issue
Block a user