th: woodpecker: only do push when branch is main

lolsob-rspec
Ariadne Conill 2022-11-13 03:23:58 +00:00
parent 5947e9339b
commit 8e83b4aaac
1 changed files with 1 additions and 0 deletions

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]