Add worksapce to drone.yml
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user