Some checks reported errors
continuous-integration/drone/push Build encountered an error
20 lines
364 B
YAML
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
|