add trigger

This commit is contained in:
Jay 2019-05-22 22:37:22 +08:00
parent 22c3746cb0
commit 00e996311c

View File

@ -3,7 +3,7 @@ name: build
clone:
depth: 50
setps:
- name: docker
image: plugins/docker
@ -12,5 +12,7 @@ setps:
repo: docker.mtfos.xyz/mtfos/go-bot
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
when:
branch: master
trigger:
branch:
- master