mandelmapper/.drone.yml

21 lines
410 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
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 03:01:22 +00:00
docker:
image: docker:latest
commands:
- docker build -t deadbeef.codes:5000/mandelmapper:latest .
- docker push deadbeef.codes:5000/mandelmapper:latest
2018-08-02 01:23:42 +00:00
2018-08-02 03:01:22 +00:00