forked from Mirrors/doipjs
Fix drone config
This commit is contained in:
parent
dfa8086d7a
commit
1fc8fd0b9e
1 changed files with 15 additions and 9 deletions
24
.drone.yml
24
.drone.yml
|
@ -25,18 +25,20 @@ steps:
|
||||||
image: plugins/npm
|
image: plugins/npm
|
||||||
settings:
|
settings:
|
||||||
username: yarmo_eu
|
username: yarmo_eu
|
||||||
token:
|
password:
|
||||||
from_secret: npm_token
|
from_secret: npm_token
|
||||||
email:
|
email:
|
||||||
from_secret: npm_email
|
from_secret: npm_email
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: publish-docker-latest
|
name: publish-docker-latest
|
||||||
|
@ -63,13 +65,15 @@ steps:
|
||||||
repo: keyoxide/doip-proxy
|
repo: keyoxide/doip-proxy
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: publish-docker-dev
|
name: publish-docker-dev
|
||||||
|
@ -90,5 +94,7 @@ depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
Loading…
Reference in a new issue