commit 41e0e9d059f5c821a322bdd1c9826a4345591efb Author: Radim LipovĨan Date: Sun Jan 8 12:28:23 2023 +0100 Golang build diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c6103d7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +kind: pipeline +name: build +type: docker + +steps: +- name: clone-repo + image: golang:1.20rc2-alpine3.17 + commands: + - apk add git + - git clone https://git.lipovcan.cz/Upstream/apcupsd_exporter.git + - go build diff --git a/README.md b/README.md new file mode 100644 index 0000000..fe95aee --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Build apcupsd exporter