fix build workspace
This commit is contained in:
parent
dfffa72795
commit
cce0d41e93
1 changed files with 4 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: ulexus/drone-revel
|
image: ulexus/drone-revel
|
||||||
|
workspace:
|
||||||
|
base: /go
|
||||||
|
path: src/github.com/CyCoreSystems/cycore-web
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /go/github.com/CyCoreSystems/cycore-web
|
- revel build github.com/CyCoreSystems/cycore-web tmp prod
|
||||||
- cp -a * /go/github.com/CyCoreSystems/cycore-web
|
|
||||||
- revel build github.com/CyCoreSystems/cycore-web tmp
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: quay.io/cycore/web
|
repo: quay.io/cycore/web
|
||||||
|
|
Loading…
Reference in a new issue