From 0fe22765271f032ff72c827674968b59f1a9c017 Mon Sep 17 00:00:00 2001 From: Mandeep Plaha <99760213+mandeepsplaha@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:34:33 -0700 Subject: [PATCH] Mandeepsplaha/fix container build failures (#10151) --- .../scripts/BuildGoldenDistrolessContainer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pipelines/containerSourceData/scripts/BuildGoldenDistrolessContainer.sh b/.pipelines/containerSourceData/scripts/BuildGoldenDistrolessContainer.sh index 753c5f76ddf..50d79b40bef 100644 --- a/.pipelines/containerSourceData/scripts/BuildGoldenDistrolessContainer.sh +++ b/.pipelines/containerSourceData/scripts/BuildGoldenDistrolessContainer.sh @@ -53,7 +53,7 @@ function create_distroless_container { echo "Distroless Packages to install -> $DISTROLESS_PACKAGES_TO_INSTALL" echo "Distroless Packages to hold back -> $DISTROLESS_PACKAGES_TO_HOLD_BACK" - DISTROLESS_GOLDEN_IMAGE_NAME=${GOLDEN_IMAGE_NAME//base/distroless} + DISTROLESS_GOLDEN_IMAGE_NAME=${CONTAINER_IMAGE_NAME//base/distroless} standardContainerName="$DISTROLESS_GOLDEN_IMAGE_NAME:$COMPONENT_VERSION-$DISTRO_IDENTIFIER$BASE_IMAGE_TAG" debugContainerName="$DISTROLESS_GOLDEN_IMAGE_NAME:$COMPONENT_VERSION-debug-$DISTRO_IDENTIFIER$BASE_IMAGE_TAG" nonrootContainerName="$DISTROLESS_GOLDEN_IMAGE_NAME:$COMPONENT_VERSION-nonroot-$DISTRO_IDENTIFIER$BASE_IMAGE_TAG"