mtfosbot/.drone.yml
2019-05-22 22:38:52 +08:00

22 lines
395 B
YAML

kind: pipeline
name: build
clone:
depth: 50
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --recursive --remote
- 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