2018-12-23 06:18:12 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
2018-08-02 01:44:17 +00:00
|
|
|
|
2018-12-23 06:18:12 +00:00
|
|
|
steps:
|
2018-12-23 06:30:07 +00:00
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
pull: always
|
|
|
|
environment:
|
|
|
|
GOOS: linux
|
|
|
|
GOARCH: amd64
|
|
|
|
CGO_ENABLED: 0
|
2018-12-23 06:40:00 +00:00
|
|
|
GOPATH: /drone/src
|
2018-12-23 06:30:07 +00:00
|
|
|
commands:
|
2018-12-23 06:36:26 +00:00
|
|
|
- go version
|
|
|
|
- go get
|
|
|
|
- go build -ldflags '-w'
|
2018-12-23 06:30:07 +00:00
|
|
|
- name: publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: deadbeef.codes:5000/mandelmapper
|