Merge pull request 'add tag trigger' (!77) from feature/tag-trigger into main
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

Reviewed-on: #77
This commit is contained in:
weeman 2022-02-28 19:32:33 +01:00
commit aaa0883692

View File

@ -9,6 +9,7 @@ name: default
steps:
- name: reuse
image: fsfe/reuse:latest
- name: docker-publish
image: plugins/docker
settings:
@ -21,5 +22,22 @@ steps:
password:
from_secret: "docker_password"
when:
event:
- push
branch:
- 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