Skip to content

Commit d75fa49

Browse files
author
OpenShift Bot
authored
Merge pull request #15170 from stevekuznetsov/skuznets/allow-infra-pull
Merged by openshift-bot
2 parents dfd98ba + e45f1c7 commit d75fa49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hack/lib/build/environment.sh

+5
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ function os::build::environment::run() {
205205
fi
206206
fi
207207

208+
if [[ -n "${OS_BUILD_ENV_PULL_IMAGE:-}" ]]; then
209+
os::log::info "Pulling the ${OS_BUILD_ENV_IMAGE} image to update it..."
210+
docker pull "${OS_BUILD_ENV_IMAGE}"
211+
fi
212+
208213
os::log::debug "Using commit ${commit}"
209214
os::log::debug "Using volume ${volume}"
210215

0 commit comments

Comments
 (0)