Update '.drone.yml'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3c2de07f01
commit
4ffc96fed4
26
.drone.yml
26
.drone.yml
|
@ -3,18 +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: docker:20.10.12
|
||||
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: publish
|
||||
image: plugins/docker
|
||||
repo: foo/bar
|
||||
commands:
|
||||
- git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
|
||||
# - name: publish
|
||||
# image: plugins/docker
|
||||
# repo: foo/bar
|
||||
# commands:
|
||||
# - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git
|
Loading…
Reference in New Issue