Fix drone config

This commit is contained in:
Yarmo Mackenbach 2022-09-20 22:07:46 +02:00
parent dfa8086d7a
commit 1fc8fd0b9e
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

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