forked from kompetenzinventar/ki-backend
run docker publish only for the main branch
This commit is contained in:
parent
803353fdd3
commit
763b6d6ee5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user