Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Radim Lipovčan 2022-02-08 10:39:21 +01:00
parent a81972ff05
commit f75c633619

View File

@ -4,10 +4,10 @@ type: docker
steps: steps:
- name: build - name: build
image: docker:20.10.12-git image: plugins/docker
commands: commands:
#- ln -snf /usr/share/zoneinfo/$(echo "Europe/Prague") /etc/localtime && echo $(echo "Europe/Prague") > /etc/timezone #- ln -snf /usr/share/zoneinfo/$(echo "Europe/Prague") /etc/localtime && echo $(echo "Europe/Prague") > /etc/timezone
#- apt-get update ; apt-get install docker.io git -y - apt-get update ; apt-get install docker.io git -y
- git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
- cd mikrotik-exporter - cd mikrotik-exporter
- docker build -t mikrotik_exporter:1.0 . - docker build -t mikrotik_exporter:1.0 .