diff --git a/roles/openshift-apps/bodhi/templates/buildconfig.yml b/roles/openshift-apps/bodhi/templates/buildconfig.yml index 70568bbb70..95d341e865 100644 --- a/roles/openshift-apps/bodhi/templates/buildconfig.yml +++ b/roles/openshift-apps/bodhi/templates/buildconfig.yml @@ -20,7 +20,11 @@ items: strategy: type: Docker dockerStrategy: +{% if env == "staging" %} + noCache: True +{% else %} noCache: False +{% endif %} output: to: kind: ImageStreamTag