workspace: base: /go path: src/github.com/drone/drone-cli pipeline: build: image: golang:1.9 commands: sh .drone.sh publish_latest: image: plugins/docker repo: drone/cli secrets: [docker_username, docker_password] auto_tag: true when: event: [push, tag] publish_alpine: image: plugins/docker repo: drone/cli secrets: [docker_username, docker_password] auto_tag: true auto_tag_suffix: alpine dockerfile: Dockerfile.alpine when: event: [push, tag] publish_linux_arm: image: plugins/docker repo: drone/cli secrets: [docker_username, docker_password] auto_tag: true auto_tag_suffix: linux-arm dockerfile: Dockerfile.linux.arm when: event: [push, tag] publish_linux_arm64: image: plugins/docker repo: drone/cli secrets: [docker_username, docker_password] auto_tag: true auto_tag_suffix: linux-arm64 dockerfile: Dockerfile.linux.arm64 when: event: [push, tag] release: image: plugins/github-release files: - release/drone_*.tar.gz - release/drone_checksums.txt secrets: - source: github_token target: github_release_api_key when: event: tag