This commit is contained in:
parent
53f671a3e4
commit
7aaa3fe1d1
1 changed files with 7 additions and 9 deletions
16
.drone.yml
16
.drone.yml
|
@ -1,8 +1,7 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -14,9 +13,6 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -28,8 +24,10 @@ steps:
|
||||||
tags: latest
|
tags: latest
|
||||||
dry_run: true
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
exclude:
|
branch:
|
||||||
branch:
|
exclude:
|
||||||
- main
|
- main
|
||||||
event:
|
when:
|
||||||
- push
|
event:
|
||||||
|
include:
|
||||||
|
- push
|
Loading…
Reference in a new issue