mtfosbot/.drone.yml
2019-05-22 22:44:43 +08:00

24 lines
433 B
YAML

kind: pipeline
name: build
clone:
depth: 50
steps:
- name: submodules
image: plugins/git
commands:
- git submodule update --recursive --remote --init
- ls schema
- ls
- name: docker
image: plugins/docker
settings:
registry: docker.mtfos.xyz
repo: docker.mtfos.xyz/mtfos/go-bot
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
trigger:
branch:
- master