Make bodhi openshif image build not cache on stg

previously, the image build was frequently not finding the new rpms for
the staging snapshots when rebuilding the image. WE now don't uyse the
cache when building the staging images for boshi-base on openshift

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2022-03-09 19:59:42 +10:00
parent f3c79b476a
commit 5cb6d30067

View file

@ -20,7 +20,11 @@ items:
strategy:
type: Docker
dockerStrategy:
{% if env == "staging" %}
noCache: True
{% else %}
noCache: False
{% endif %}
output:
to:
kind: ImageStreamTag