ci: add support for promote and rollback events
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c97e3eacb6
commit
fed6f53663
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue