1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-06-03 12:36:03 +02:00
drone-cli/.drone.yml

28 lines
519 B
YAML
Raw Normal View History

2016-05-25 18:43:33 +02:00
workspace:
base: /go
path: src/github.com/drone/drone-cli
2015-02-13 10:01:28 +01:00
2016-05-25 18:43:33 +02:00
pipeline:
2017-05-15 13:59:26 +02:00
build:
2018-02-14 22:06:05 +01:00
image: golang:1.9
2017-05-16 12:51:39 +02:00
commands: sh .drone.sh
2017-05-22 15:18:17 +02:00
2017-09-13 00:30:33 +02:00
snapshot:
2017-09-13 00:28:13 +02:00
image: plugins/docker
repo: drone/cli
2017-09-13 00:35:00 +02:00
secrets: [docker_username, docker_password]
2017-09-13 00:28:13 +02:00
when:
branch: master
event: push
2017-09-13 00:30:33 +02:00
release:
2017-05-22 15:18:17 +02:00
image: plugins/github-release
files:
- release/drone_*.tar.gz
- release/drone_checksums.txt
secrets:
- source: github_token
target: github_release_api_key
2015-02-13 10:01:28 +01:00
when:
2017-05-22 15:18:17 +02:00
event: tag