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
|
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue