docker-build-mikrotik-exporter/.drone.yml
Radim Lipovčan d20008caf4
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update '.drone.yml'
2022-02-08 10:54:17 +01:00

20 lines
364 B
YAML

kind: pipeline
name: build
type: docker
steps:
- name: clone
image: alpine:3
commands:
- apk add git
- git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
- mv mikrotik-exporter/* .
- name: build-golang
image: golang
commands:
- go build
- go test
- echo -n "5.2.6,5.2.4" > .tags
- name: build-image
image: plugins/docker