1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-23 09:21:56 +01:00
drone-cli/.drone.yml

34 lines
689 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
2018-02-20 19:58:56 +01:00
publish_latest:
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]
2018-02-20 19:58:56 +01:00
auto_tag: true
publish_alpine:
image: plugins/docker
repo: drone/cli
secrets: [docker_username, docker_password]
auto_tag: true
auto_tag_suffix: alpine
dockerfile: Dockerfile.alpine
2017-09-13 00:28:13 +02:00
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