ci: add support for promote and rollback events
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-09 11:47:45 +03:00
parent c97e3eacb6
commit fed6f53663
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,14 @@ trigger:
- main
event:
- push
- promote
- rollback
steps:
- name: build-docker-image
when:
event:
- push
image: plugins/docker
settings:
username:
@ -46,4 +51,3 @@ volumes:
- name: dockersock
host:
path: /var/run/docker.sock