Skip to content

Commit 9ab646c

Browse files
committed
Fix compatibility with old-style build scripts
1 parent 0565352 commit 9ab646c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.kokoro/psm_interop_kokoro_lib.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ readonly FORCE_TESTING_VERSION="${FORCE_TESTING_VERSION:-}"
3030
readonly FORCE_IMAGE_BUILD_PSM="${FORCE_IMAGE_BUILD:-0}"
3131

3232
# Docker
33-
readonly DOCKER_REGISTRY="us-docker.pkg.dev"
33+
# TODO(sergiitk): if can be removed when DOCKER_REGISTRY removed from buildscripts.
34+
if [[ -z "${DOCKER_REGISTRY}" ]] ; then
35+
readonly DOCKER_REGISTRY="us-docker.pkg.dev"
36+
fi
3437

3538
# GKE cluster identifiers.
3639
readonly GKE_CLUSTER_PSM_LB="psm-lb"

0 commit comments

Comments
 (0)