Skip to content

Commit

Permalink
Add secrets to docker and github step for drone
Browse files Browse the repository at this point in the history
  • Loading branch information
metalmatze committed Apr 5, 2018
1 parent ec8436e commit 9a56650
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ pipeline:
docker:
image: plugins/docker
repo: metalmatze/digitalocean_exporter
tags: [ '${DRONE_TAG}' ]
secrets: [ docker_username, docker_password ]
tag: [ 0.5 ]
when:
event: tag

github:
image: plugins/github-release
secrets: [ github_token ]
files: dist/*
when:
event: tag

0 comments on commit 9a56650

Please sign in to comment.