Merge pull request 'Trigger aufteilen' (!67) from feature/tag-trigger into main

Reviewed-on: kompetenzinventar/ki-backend#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"
when:
event:
- tag
- push
branch:
- 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:
- dockerconfig