ci: add support for promote and rollback events
All checks were successful
continuous-integration/drone/push Build is passing

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

View file

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