From b698d56d6060ebbba7e27235ecce122fb330147b Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 2 May 2017 22:03:26 +0800 Subject: [PATCH] add some secrets. Signed-off-by: Bo-Yi Wu --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0fafc39..ff644ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,6 +46,7 @@ pipeline: image: plugins/docker repo: ${DRONE_REPO} tags: [ '${DRONE_TAG}' ] + secrets: [ docker_username, docker_password ] when: event: [ tag ] branch: [ refs/tags/* ] @@ -55,6 +56,7 @@ pipeline: image: plugins/docker repo: ${DRONE_REPO} tags: [ 'latest' ] + secrets: [ docker_username, docker_password ] when: event: [ push ] branch: [ master ] @@ -62,7 +64,7 @@ pipeline: release: image: plugins/github-release - api_key: ${GITHUB_RELEASE_API_KEY} + secrets: [ github_token ] files: - dist/release/* when: