iplistget/.drone.yml

33 lines
452 B
YAML

---
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
workspace:
base: /go
path: src/git.veenee.ru/veenee/iplistget
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