20 lines
544 B
YAML
20 lines
544 B
YAML
kind: pipeline
|
|
name: build
|
|
type: docker
|
|
|
|
steps:
|
|
- name: build
|
|
image: docker:20.10.12-dind-rootless
|
|
commands:
|
|
#- ln -snf /usr/share/zoneinfo/$(echo "Europe/Prague") /etc/localtime && echo $(echo "Europe/Prague") > /etc/timezone
|
|
- apk add git
|
|
- 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 |