diff --git a/container/build.sh b/container/build.sh index 6bf226842..92959d18f 100755 --- a/container/build.sh +++ b/container/build.sh @@ -569,8 +569,8 @@ function main() { if [[ -n "${repository}" ]]; then prefix="${repository}/" - if [[ -n "${image_repository}" ]]; then - prefix="${image_repository}/${prefix}" + if [[ -n "${image_registry}" ]]; then + prefix="${image_registry}/${prefix}" fi fi