From 20aaaf3454bd1a27aa059cbb1324ca8feef56c05 Mon Sep 17 00:00:00 2001 From: lddsb Date: Tue, 19 Feb 2019 17:37:37 +0800 Subject: [PATCH] format .drone.yml [CI SKIP] --- .drone.yml | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index c1fef70..ea54770 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,28 +7,27 @@ workspace: path: src/github.com/lddsb/drone-dingtalk-message steps: -- name: build - image: golang - commands: - - go get -u github.com/golang/dep/cmd/dep - - dep ensure - - CGO_ENABLED=0 GOOS=linux go build -a -o drone-dingtalk-message . - - ./drone-dingtalk-message -h -- name: publish - image: plugins/docker - when: - branch: - - master - status: - - success - event: - - push - settings: - repo: lddsb/drone-dingtalk-message - dockerfile: Dockerfile - tags: latest - username: - from_secret: docker_username - password: - from_secret: docker_password - + - name: build + image: golang + commands: + - go get -u github.com/golang/dep/cmd/dep + - dep ensure + - CGO_ENABLED=0 GOOS=linux go build -a -o drone-dingtalk-message . + - ./drone-dingtalk-message -h + - name: publish + image: plugins/docker + when: + branch: + - master + status: + - success + event: + - push + settings: + repo: lddsb/drone-dingtalk-message + dockerfile: Dockerfile + tags: latest + username: + from_secret: docker_username + password: + from_secret: docker_password