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