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