th: woodpecker: only do push when branch is main

This commit is contained in:
Ariadne Conill 2022-11-13 03:23:58 +00:00
parent 5947e9339b
commit 8e83b4aaac

View file

@ -15,4 +15,5 @@ pipeline:
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
when:
event: [push, tag]
branch: main
secrets: [REGISTRY_SECRET]