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:
parent
29b8161b0d
commit
25ef18dae1
14
.drone.yml
14
.drone.yml
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user