Merge pull request 'Trigger aufteilen' (!67) from feature/tag-trigger into main
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing

Reviewed-on: #67
This commit is contained in:
weeman 2022-02-28 19:29:19 +01:00
commit f7278bf7ea

View File

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