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