This commit is contained in:
Jay 2019-05-22 22:36:10 +08:00
parent 1bbae8e57d
commit 22c3746cb0
1 changed files with 9 additions and 8 deletions

View File

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