woodpecker: only do push when branch is main

main
Ariadne Conill 2022-11-13 03:23:58 +00:00
parent c4b8dfae32
commit bb4ed39673
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 - 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]