ci: add when
This commit is contained in:
parent
af2505f8e1
commit
fe54457ebb
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ steps:
|
|||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
- ${DRONE_COMMIT_BRANCH}
|
||||
- latest
|
||||
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
- name: docker_build_and_push_dockerhub
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
|
Reference in a new issue