mandelmapper/.drone.yml

18 lines
381 B
YAML

workspace:
base: /go
path: src/deadbeef.codes/steven/mandelmapper
pipeline:
build:
image: golang:latest
commands:
- go version
- go get
- CGO_ENABLED=0 GOOS=linux go build -ldflags '-w'
publish:
image: plugins/docker
repo: deadbeef.codes:5000/mandelmapper
registry: deadbeef.codes:5000
tags:
- latest
- ${DRONE_COMMIT}