2019-01-06 03:09:32 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/deadbeef.codes/steven/deadbeef.codes-publicfileserver
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
pull: always
|
|
|
|
environment:
|
|
|
|
GOOS: linux
|
|
|
|
GOARCH: amd64
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
commands:
|
|
|
|
- go version
|
|
|
|
- go get
|
|
|
|
- go build -a -ldflags '-w'
|
|
|
|
- name: publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: registry.deadbeef.codes/deadbeef.codes-publicfileserver
|
2019-11-02 17:50:31 +00:00
|
|
|
|