28 lines
676 B
YAML
28 lines
676 B
YAML
kind: pipeline
|
|
name: build
|
|
type: docker
|
|
|
|
steps:
|
|
- name: build
|
|
image: plugins/docker
|
|
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
|
|
- mv mikrotik-exporter/* .
|
|
- name: build-image
|
|
image: plugins/docker
|
|
#environment:
|
|
# TOKEN:
|
|
# from_secret: one_of_the_tokens
|
|
settings:
|
|
username: kevinbacon
|
|
password: pa55word
|
|
repo: foo/bar
|
|
|
|
|
|
# - name: publish
|
|
# image: plugins/docker
|
|
# repo: foo/bar
|
|
# commands:
|
|
# - git clone https://git.lipovcan.cz/Upstream/mikrotik-exporter.git |