run docker publish only for the main branch #56
@ -26,6 +26,9 @@ steps:
|
||||
from_secret: "docker_username"
|
||||
password:
|
||||
from_secret: "docker_password"
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
image_pull_secrets:
|
||||
- dockerconfig
|
||||
|
Loading…
Reference in New Issue
Block a user