fix(ci): 构建 Job 修复 buildx create 空 env= 参数导致的 invalid driver option env 报错
This commit is contained in:
@@ -220,9 +220,7 @@ jobs:
|
||||
--use \
|
||||
--config "${BKK_CFG}" \
|
||||
--buildkitd-flags '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host' \
|
||||
--driver-opt network=host \
|
||||
--driver-opt "env=HTTP_PROXY=${HTTP_PROXY_EXAMPLE}" \
|
||||
--driver-opt "env=HTTPS_PROXY=${HTTPS_PROXY_EXAMPLE}"
|
||||
--driver-opt network=host
|
||||
rm -f "${BKK_CFG}"
|
||||
export GIT_CONFIG_COUNT=2
|
||||
export GIT_CONFIG_KEY_0="url.${GH_PROXY_PREFIX}https://github.com/.insteadOf"
|
||||
|
||||
Reference in New Issue
Block a user