Fix drone, x86 build

This commit is contained in:
Steven Polley 2018-11-24 13:51:48 -07:00
parent 9105f34d6a
commit 50185baa41

View File

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