Update drone.yml to new format
This commit is contained in:
parent
cc54877d5e
commit
41b033d4f2
25
.drone.yml
25
.drone.yml
@ -1,18 +1,15 @@
|
|||||||
workspace:
|
kind: pipeline
|
||||||
base: /go
|
name: default
|
||||||
path: src/deadbeef.codes/steven/mandelmapper
|
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
- name: build
|
||||||
image: golang:latest
|
image: golang
|
||||||
|
pull: always
|
||||||
|
environment:
|
||||||
|
GOOS: linux
|
||||||
|
GOARCH: amd64
|
||||||
|
CGO_ENABLED: 0
|
||||||
commands:
|
commands:
|
||||||
- go version
|
- go version
|
||||||
- go get
|
- go get
|
||||||
- CGO_ENABLED=0 GOOS=linux go build -ldflags '-w'
|
- go build -ldflags '-w'
|
||||||
publish:
|
|
||||||
image: plugins/docker
|
|
||||||
repo: deadbeef.codes:5000/mandelmapper
|
|
||||||
registry: deadbeef.codes:5000
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
- ${DRONE_COMMIT}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user