Fix drone, x86 build
This commit is contained in:
parent
9105f34d6a
commit
50185baa41
11
.drone.yml
11
.drone.yml
@ -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}
|
Loading…
Reference in New Issue
Block a user