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 .