From c46535bdf71c3752553d61b4652e4de8b7d4c915 Mon Sep 17 00:00:00 2001 From: Vitaly Pashkov Date: Wed, 30 Oct 2019 10:54:36 +0000 Subject: [PATCH] Add basic Drone-CI pipeline --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5b36467 --- /dev/null +++ b/.drone.yml @@ -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