Update '.drone.yml'
This commit is contained in:
parent
6273ff7c8d
commit
056fc2f90e
21
.drone.yml
21
.drone.yml
@ -3,13 +3,18 @@ name: build
|
|||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
#- name: build
|
||||||
image: ubuntu:20.04
|
# image: ubuntu:20.04
|
||||||
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 .
|
||||||
|
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: plugins/docker
|
||||||
|
repo: foo/bar
|
||||||
|
commands:
|
||||||
|
- git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
|
Loading…
Reference in New Issue
Block a user