forked from kompetenzinventar/ki-frontend
Merge pull request 'add tag trigger' (!77) from feature/tag-trigger into main
Reviewed-on: kompetenzinventar/ki-frontend#77
This commit is contained in:
commit
aaa0883692
18
.drone.yml
18
.drone.yml
@ -9,6 +9,7 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: reuse
|
- name: reuse
|
||||||
image: fsfe/reuse:latest
|
image: fsfe/reuse:latest
|
||||||
|
|
||||||
- name: docker-publish
|
- name: docker-publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -21,5 +22,22 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: "docker_password"
|
from_secret: "docker_password"
|
||||||
when:
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
- name: docker-publish-tag
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: registry.wtf-eg.net
|
||||||
|
repo: registry.wtf-eg.net/ki-frontend
|
||||||
|
target: ki-frontend
|
||||||
|
auto_tag: true
|
||||||
|
username:
|
||||||
|
from_secret: "docker_username"
|
||||||
|
password:
|
||||||
|
from_secret: "docker_password"
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user