forked from kompetenzinventar/ki-backend
split trigger
This commit is contained in:
parent
a5bd954bb5
commit
cf1a5a532c
16
.drone.yml
16
.drone.yml
@ -28,10 +28,24 @@ steps:
|
|||||||
from_secret: "docker_password"
|
from_secret: "docker_password"
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
|
||||||
- push
|
- push
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
- name: docker-publish-tag
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: registry.wtf-eg.net
|
||||||
|
repo: registry.wtf-eg.net/ki-backend
|
||||||
|
target: ki-backend
|
||||||
|
auto_tag: true
|
||||||
|
username:
|
||||||
|
from_secret: "docker_username"
|
||||||
|
password:
|
||||||
|
from_secret: "docker_password"
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- dockerconfig
|
- dockerconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user