From 056fc2f90ef517559aa530192837a7f5184b0186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= Date: Tue, 8 Feb 2022 10:31:32 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7c54355..b0f9f48 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,13 +3,18 @@ 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.io git -y - - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git - - cd mikrotik-exporter - - docker build -t mikrotik_exporter:1.0 . +#- 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.io git -y +# - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git +# - cd mikrotik-exporter +# - docker build -t mikrotik_exporter:1.0 . + publish: + image: plugins/docker + repo: foo/bar + commands: + - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git \ No newline at end of file