go-build-apcupsd-exporter/.drone.yml

14 lines
263 B
YAML

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
- cd apcupsd_exporter
- go build apcupsdexporter
- ls -lah