docker-build-mikrotik-exporter/.drone.yml
Radim Lipovčan a844324a22
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2022-02-07 19:59:36 +01:00

15 lines
383 B
YAML

kind: pipeline
name: build
type: docker
steps:
- name: build
image: ubuntu:20.04
commands:
- ln -snf /usr/share/zoneinfo/$(echo "Europe/Prague") /etc/localtime && echo $(echo "Europe/Prague") > /etc/timezone
- apt-get update ; apt-get install docker git -y
- git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
- docker build -t mikrotik_exporter:1.0 .