fix build workspace

This commit is contained in:
Seán C McCord 2017-09-30 22:34:22 -04:00
parent dfffa72795
commit cce0d41e93

View file

@ -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