th: woodpecker: only do push when branch is main
parent
5947e9339b
commit
8e83b4aaac
|
@ -15,4 +15,5 @@ pipeline:
|
||||||
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
|
branch: main
|
||||||
secrets: [REGISTRY_SECRET]
|
secrets: [REGISTRY_SECRET]
|
||||||
|
|
Loading…
Reference in New Issue