Fix drone, x86 build

This commit is contained in:
Steven Polley 2018-11-24 13:51:48 -07:00
parent 9105f34d6a
commit 50185baa41
1 changed files with 4 additions and 7 deletions

View File

@ -5,17 +5,14 @@ workspace:
pipeline:
build:
image: golang:latest
environment:
- GOOS=linux
- GOARCH=arm
- GOARM=7
commands:
- go version
- go get
- go build
- CGO_ENABLED=0 GOOS=linux go build -ldflags '-w'
publish:
image: plugins/docker
repo: deadbeef.codes:5000/mandelmapper
registry: deadbeef.codes:5000
auto_tag: true
auto_tag_suffix: ${DRONE_COMMIT}
tags:
- latest
- ${DRONE_COMMIT}