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:
|
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}
|
Loading…
Reference in New Issue
Block a user