2019-05-22 14:33:34 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: build
|
2019-05-22 14:36:10 +00:00
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 50
|
2019-05-22 14:37:22 +00:00
|
|
|
|
2019-05-22 14:37:48 +00:00
|
|
|
steps:
|
2019-05-22 14:38:52 +00:00
|
|
|
- name: submodules
|
2019-05-22 14:44:05 +00:00
|
|
|
image: plugins/git
|
2019-05-22 14:38:52 +00:00
|
|
|
commands:
|
2019-05-22 14:44:43 +00:00
|
|
|
- git submodule update --recursive --remote --init
|
2019-05-22 14:42:42 +00:00
|
|
|
- ls schema
|
2019-05-22 14:44:05 +00:00
|
|
|
- ls
|
2019-05-22 14:33:34 +00:00
|
|
|
- name: docker
|
2018-09-20 13:13:33 +00:00
|
|
|
image: plugins/docker
|
2019-05-22 14:36:10 +00:00
|
|
|
settings:
|
|
|
|
registry: docker.mtfos.xyz
|
|
|
|
repo: docker.mtfos.xyz/mtfos/go-bot
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
tags: [latest, "${DRONE_COMMIT}"]
|
2019-05-22 14:37:22 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|