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

14 lines
263 B
YAML
Raw Normal View History

2023-01-08 12:28:23 +01:00
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
2023-01-08 12:33:22 +01:00
- cd apcupsd_exporter
2023-01-08 12:43:30 +01:00
- go build apcupsdexporter
2023-01-08 12:35:33 +01:00
- ls -lah