th: woodpecker: only do push when branch is main
This commit is contained in:
parent
5947e9339b
commit
8e83b4aaac
1 changed files with 1 additions and 0 deletions
|
@ -15,4 +15,5 @@ pipeline:
|
|||
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
||||
when:
|
||||
event: [push, tag]
|
||||
branch: main
|
||||
secrets: [REGISTRY_SECRET]
|
||||
|
|
Loading…
Reference in a new issue