1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-25 04:08:02 +01:00

use autotag

This commit is contained in:
Tony Li 2018-02-20 13:58:56 -05:00
parent 29b8161b0d
commit 25ef18dae1
No known key found for this signature in database
GPG Key ID: E73DA11CDB50D072

@ -7,13 +7,19 @@ pipeline:
image: golang:1.9
commands: sh .drone.sh
snapshot:
publish_latest:
image: plugins/docker
repo: drone/cli
secrets: [docker_username, docker_password]
when:
branch: master
event: push
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
release:
image: plugins/github-release