Maubot: add github triggers

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2023-10-10 10:12:27 +02:00
parent 2448fc14d9
commit c57e9be6ef
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -32,7 +32,16 @@ spec:
type: Docker
dockerStrategy:
noCache: false
# from:
# kind: ImageStreamTag
# name: fedora:38
output:
to:
kind: ImageStreamTag
name: maubot:latest
triggers:
- type: ConfigChange
- type: ImageChange
- type: GitHub
github:
secret: "{{ (env == 'production')|ternary(maubot_prod_github_secret, maubot_stg_github_secret) }}"