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

58 lines
1.2 KiB
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
2018-02-20 20:58:13 +01:00
when:
event: [push, tag]
2018-02-20 19:58:56 +01:00
publish_alpine:
image: plugins/docker
repo: drone/cli
secrets: [docker_username, docker_password]
auto_tag: true
auto_tag_suffix: alpine
dockerfile: Dockerfile.alpine
2018-02-20 20:58:13 +01:00
when:
event: [push, tag]
2017-09-13 00:28:13 +02:00
2018-02-21 00:20:59 +01:00
publish_linux_arm:
2018-02-20 20:12:02 +01:00
image: plugins/docker
repo: drone/cli
secrets: [docker_username, docker_password]
auto_tag: true
2018-02-21 00:20:59 +01:00
auto_tag_suffix: linux-arm
dockerfile: Dockerfile.linux.arm
2018-02-20 20:58:13 +01:00
when:
event: [push, tag]
2018-02-20 20:12:02 +01:00
2018-02-21 00:20:59 +01:00
publish_linux_arm64:
2018-02-20 20:12:02 +01:00
image: plugins/docker
repo: drone/cli
secrets: [docker_username, docker_password]
auto_tag: true
2018-02-21 00:20:59 +01:00
auto_tag_suffix: linux-arm64
dockerfile: Dockerfile.linux.arm64
2018-02-20 20:58:13 +01:00
when:
event: [push, tag]
2018-02-20 20:12:02 +01: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