Update '.drone.yml'
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
1397c8a8dd
commit
d20008caf4
25
.drone.yml
25
.drone.yml
|
@ -3,26 +3,17 @@ name: build
|
|||
type: docker
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
- name: clone
|
||||
image: alpine:3
|
||||
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-golang
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
- go test
|
||||
- echo -n "5.2.6,5.2.4" > .tags
|
||||
- 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
|
Loading…
Reference in New Issue