diff --git a/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml b/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml index 9738fdfe41..0a4122ff07 100644 --- a/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml +++ b/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml @@ -20,6 +20,9 @@ spec: triggers: - type: ImageChange - type: ConfigChange + - type: GitHub + github: + secret: "{{ (env == 'production')|ternary(bugzilla2fedmsg_prod_github_secret, bugzilla2fedmsg_stg_github_secret) }}" output: to: kind: ImageStreamTag