Image
: Deprecate OneOf implementation for cacheFrom
#427
Labels
Milestone
Image
: Deprecate OneOf implementation for cacheFrom
#427
Currently, the
cacheFrom
input onDockerBuild
can either be a boolean or aCacheFrom
supporting type which containsstages
, a list of strings. This is implemented on currentmaster
branch as well, but it adds a lot of extra input handling to the provider logic.Rather than allow users to set a boolean or a
CacheFrom
type withstages
, we should remove the boolean option.Instead, we will allow for
cacheFrom
to be a list of strings and add logic to determine either reasonable default (to handle the currenttrue
case) or whether this field is not set (to handle the currentfalse
case).The text was updated successfully, but these errors were encountered: