modify drone config

This commit is contained in:
Jay 2019-05-30 09:40:37 +08:00
parent 8d3d347342
commit a3bf8e0293
1 changed files with 14 additions and 8 deletions

View File

@ -1,9 +1,15 @@
pipeline:
docker:
kind: pipeline
name: build
steps:
- name: docker
image: plugins/docker
registry: docker.mtfos.xyz
repo: docker.mtfos.xyz/mtfos/node-iglook
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
when:
branch: release
settings:
registry: docker.mtfos.xyz
repo: docker.mtfos.xyz/mtfos/node-iglook
dockerfile: Dockerfile
tags: [latest, "${DRONE_COMMIT}"]
trigger:
branch:
- master