run docker publish only for the main branch
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
weeman 2021-10-10 19:55:59 +02:00
parent 803353fdd3
commit 763b6d6ee5
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1

View File

@ -26,6 +26,9 @@ steps:
from_secret: "docker_username" from_secret: "docker_username"
password: password:
from_secret: "docker_password" from_secret: "docker_password"
when:
branch:
- main
image_pull_secrets: image_pull_secrets:
- dockerconfig - dockerconfig