2018-08-02 01:44:17 +00:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/deadbeef.codes/steven/mandelbrot
|
|
|
|
|
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
|
|
|
environment:
|
|
|
|
- GOOS=linux
|
|
|
|
- GOARCH=arm
|
|
|
|
- GOARM=7
|
|
|
|
commands:
|
2018-08-02 01:44:17 +00:00
|
|
|
- go get
|
2018-08-02 01:23:42 +00:00
|
|
|
- go build
|
2018-08-02 01:51:59 +00:00
|
|
|
- pwd
|
2018-08-02 01:23:42 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
image: plugins/docker
|
|
|
|
repo: deadbeef.codes:5000/mandelmap
|
|
|
|
registry: deadbeef.codes:5000
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-rpi3
|