This commit is contained in:
Jay 2019-05-22 22:36:10 +08:00
parent 1bbae8e57d
commit 22c3746cb0

View File

@ -1,15 +1,16 @@
kind: pipeline kind: pipeline
name: build name: build
clone:
depth: 50
setps: setps:
- name: clone
image: plugins/git
# Seems to be looking for an image?
recursive: true
- name: docker - name: docker
image: plugins/docker image: plugins/docker
registry: docker.mtfos.xyz settings:
repo: docker.mtfos.xyz/mtfos/go-bot registry: docker.mtfos.xyz
dockerfile: Dockerfile repo: docker.mtfos.xyz/mtfos/go-bot
tags: [latest, "${DRONE_COMMIT}"] dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
when: when:
branch: master branch: master