From ffd499d445b830d6566849114e54e60933ca29ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frans=20F=C3=BCrst?= Date: Mon, 30 Dec 2024 14:16:59 +0100 Subject: [PATCH] build-cmk-packages: force use of fqn for build images CMK-20968 Change-Id: I6261c72a91be5ceb0856b06d5cee6c6cf62026f0 --- buildscripts/scripts/build-cmk-packages.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildscripts/scripts/build-cmk-packages.groovy b/buildscripts/scripts/build-cmk-packages.groovy index d9cba728f18..594699d7ed1 100644 --- a/buildscripts/scripts/build-cmk-packages.groovy +++ b/buildscripts/scripts/build-cmk-packages.groovy @@ -309,7 +309,10 @@ def main() { // * Bazel opens many files which can lead to crashes // * See CMK-12159 inside_container( - image: docker.image("${distro}:${docker_tag}"), + // supplying the registry explicitly might not be needed but it looks like image.inside() will + // first try to use the image without registry and only if that didn't work falls back to the + // fully qualified name + image: docker.image("${docker_registry_no_http}/${distro}:${docker_tag}"), args: [ "--ulimit nofile=16384:32768", "-v ${checkout_dir}:${checkout_dir}:ro",