diff --git a/roles/openshift-apps/maubot/templates/buildconfig.yml b/roles/openshift-apps/maubot/templates/buildconfig.yml index 3aabf64394..081eadb2de 100644 --- a/roles/openshift-apps/maubot/templates/buildconfig.yml +++ b/roles/openshift-apps/maubot/templates/buildconfig.yml @@ -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) }}"