From ad04e15ec4ec99d21a6b9085e703f8e0ba28ea37 Mon Sep 17 00:00:00 2001 From: AlphaTr Date: Wed, 1 Jul 2020 10:21:41 +0800 Subject: [PATCH] tools(drone): add drone config --- .drone.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8e60472 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,25 @@ +kind: pipeline +type: docker +name: amd64 + +platform: + arch: amd64 + +steps: +- name: backend + image: golang + commands: + - go mod tidy + - go build + when: + event: tag + +steps: +- name: publish + image: plugins/github-release + settings: + api_key: + from_secret: github_token + files: lego + when: + event: tag