mirror of
https://github.com/drone/drone-cli.git
synced 2024-05-04 14:46:02 +02:00
add conditions to docker plugin
This commit is contained in:
parent
fba0375e96
commit
dd760628a2
|
@ -12,6 +12,8 @@ pipeline:
|
|||
repo: drone/cli
|
||||
secrets: [docker_username, docker_password]
|
||||
auto_tag: true
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
publish_alpine:
|
||||
image: plugins/docker
|
||||
|
@ -20,6 +22,8 @@ pipeline:
|
|||
auto_tag: true
|
||||
auto_tag_suffix: alpine
|
||||
dockerfile: Dockerfile.alpine
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
publish_arm:
|
||||
image: plugins/docker
|
||||
|
@ -28,6 +32,8 @@ pipeline:
|
|||
auto_tag: true
|
||||
auto_tag_suffix: arm
|
||||
dockerfile: Dockerfile.arm
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
publish_arm64:
|
||||
image: plugins/docker
|
||||
|
@ -36,6 +42,8 @@ pipeline:
|
|||
auto_tag: true
|
||||
auto_tag_suffix: arm64
|
||||
dockerfile: Dockerfile.arm64
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
release:
|
||||
image: plugins/github-release
|
||||
|
|
Loading…
Reference in New Issue