From 994066c09bfd3fdcd1d1250124336450ab4e1ae3 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 21 May 2020 21:12:02 +0200 Subject: [PATCH] added .drone.yml --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c7c5353 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: pipeline +type: docker +name: default-linux-amd64 + +clone: + disable: true + +steps: + - name: clone + image: alpine/git + commands: + - git clone https://github.com/mackerelio/go-check-plugins.git + - name: build + image: golang + commands: + - go build -o go-check-plugins-$GOOS-$GOARCH + environment: + GOOS: linux + GOARCH: amd64 + - name: release + image: plugins/gitea-release + settings: + base_url: https://git.paulbsd.com + api_key: + from_secret: gitea_token + files: "go-check-plugins-$GOOS-$GOARCH" + checksum: + - sha256 + - sha512 + when: + event: tag