diff --git a/roles/openshift-apps/fpdc/templates/buildconfig.yml b/roles/openshift-apps/fpdc/templates/buildconfig.yml index 3588bd6709..213cf3d0ef 100644 --- a/roles/openshift-apps/fpdc/templates/buildconfig.yml +++ b/roles/openshift-apps/fpdc/templates/buildconfig.yml @@ -13,6 +13,11 @@ spec: type: Git git: uri: https://github.com/fedora-infra/fpdc.git +{% if env == 'staging' %} + ref: "staging" +{% else %} + ref: "production" +{% endif %} strategy: type: Source sourceStrategy: