From 41e0e9d059f5c821a322bdd1c9826a4345591efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= Date: Sun, 8 Jan 2023 12:28:23 +0100 Subject: [PATCH] Golang build --- .drone.yml | 11 +++++++++++ README.md | 1 + 2 files changed, 12 insertions(+) create mode 100644 .drone.yml create mode 100644 README.md 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