Add basic Drone-CI pipeline
This commit is contained in:
parent
1cd67d17fa
commit
c46535bdf7
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-amd64
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- go build
|
||||
|
||||
- name: share_master_build
|
||||
image: golang
|
||||
commands:
|
||||
- mkdir -p /shared/iplistget
|
||||
- cp iplistget /shared/iplistget/iplistget_master
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
Loading…
Reference in New Issue