1
0
Fork 0
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:
Tony Li 2018-02-20 14:58:13 -05:00
parent fba0375e96
commit dd760628a2
No known key found for this signature in database
GPG Key ID: E73DA11CDB50D072

View File

@ -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