From fd6fed247469deea9df189c72b25d68c9a39f785 Mon Sep 17 00:00:00 2001 From: nanxun Date: Fri, 24 Apr 2026 19:11:26 +0800 Subject: [PATCH] ci: quote buildx driver opts --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9ea5d1d..6bcad2f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -84,9 +84,9 @@ pipeline { sudo docker buildx create \ --name ${BUILDER_NAME} \ --driver docker-container \ - --driver-opt env.http_proxy=${HTTP_PROXY} \ - --driver-opt env.https_proxy=${HTTPS_PROXY} \ - --driver-opt env.no_proxy=${NO_PROXY_DRIVER} \ + --driver-opt "env.http_proxy=${HTTP_PROXY}" \ + --driver-opt "env.https_proxy=${HTTPS_PROXY}" \ + --driver-opt "env.no_proxy=${NO_PROXY_DRIVER}" \ --use fi sudo docker buildx inspect --builder ${BUILDER_NAME} --bootstrap >/dev/null @@ -120,9 +120,9 @@ pipeline { sudo docker buildx create \ --name ${BUILDER_NAME} \ --driver docker-container \ - --driver-opt env.http_proxy=${HTTP_PROXY} \ - --driver-opt env.https_proxy=${HTTPS_PROXY} \ - --driver-opt env.no_proxy=${NO_PROXY_DRIVER} \ + --driver-opt "env.http_proxy=${HTTP_PROXY}" \ + --driver-opt "env.https_proxy=${HTTPS_PROXY}" \ + --driver-opt "env.no_proxy=${NO_PROXY_DRIVER}" \ --use fi sudo docker buildx inspect --builder ${BUILDER_NAME} --bootstrap >/dev/null