use basic golang image

This commit is contained in:
Seán C McCord 2017-09-30 23:01:21 -04:00
parent 781229df46
commit 76d058e3d0

View file

@ -3,11 +3,12 @@ workspace:
path: src/github.com/CyCoreSystems/cycore-web path: src/github.com/CyCoreSystems/cycore-web
pipeline: pipeline:
build: build:
image: ulexus/drone-revel image: golang:1.9
pull: true pull: true
commands: commands:
- export PATH=$${PATH}:/go/bin - mkdir /go/bin /go/src
- revel build github.com/CyCoreSystems/cycore-web tmp prod - go get github.com/revel/cmd/revel
- /go/bin/revel build github.com/CyCoreSystems/cycore-web tmp prod
publish: publish:
image: plugins/docker image: plugins/docker
repo: quay.io/cycore/web repo: quay.io/cycore/web