mandelmapper/.drone.yml

18 lines
381 B
YAML
Raw Normal View History

2018-08-02 01:44:17 +00:00
workspace:
base: /go
2018-08-02 01:53:21 +00:00
path: src/deadbeef.codes/steven/mandelmapper
2018-08-02 01:44:17 +00:00
2018-08-02 01:23:42 +00:00
pipeline:
build:
2018-08-02 01:44:17 +00:00
image: golang:latest
2018-08-02 01:23:42 +00:00
commands:
2018-08-06 07:50:00 +00:00
- go version
2018-08-02 01:44:17 +00:00
- go get
2018-11-24 20:51:48 +00:00
- CGO_ENABLED=0 GOOS=linux go build -ldflags '-w'
2018-08-02 03:11:21 +00:00
publish:
image: plugins/docker
repo: deadbeef.codes:5000/mandelmapper
2018-08-02 03:38:02 +00:00
registry: deadbeef.codes:5000
2018-11-24 20:51:48 +00:00
tags:
- latest
- ${DRONE_COMMIT}