go-build-apcupsd-exporter/.drone.yml
Radim Lipovčan 35cb3bb53e
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2023-01-08 12:46:15 +01:00

29 lines
568 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
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.lipovcan.cz
files:
- "apcupsd_exporter/apcupsdexporter"
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32