atc: behavior: dont reuse resource type containers
this isn't really necessary, since these should almost always just be
`registry-image`, which has nothing to cache.
this actually wasn't meant to be committed - the tests only cover
resource checking. (hence there being no tests to update here.)
@@ -310,7 +310,7 @@ func (step *CheckStep) runCheck(
}
func (step *CheckStep) containerOwner(resourceConfig db.ResourceConfig) db.ContainerOwner {
- if step.plan.Resource == "" && step.plan.ResourceType == "" {
+ if step.plan.Resource == "" {
return db.NewBuildStepContainerOwner(
step.metadata.BuildID,
step.planID,
