ci: add when

This commit is contained in:
Michael Grote 2023-04-20 13:48:58 +02:00
parent af2505f8e1
commit fe54457ebb

View file

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