This commit is contained in:
gxl 2026-06-03 18:42:44 +08:00
parent 3caf6f99b3
commit 2f98160891
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ steps:
from_secret: nexus_docker_username from_secret: nexus_docker_username
password: password:
from_secret: nexus_docker_password from_secret: nexus_docker_password
# 👇 核心修改 2显式指定构建输出模式为常规 image 模式并直接 push
# 这样可以强行阻止 Buildx 启动独立的隔离容器,从而彻底不走官方下载 moby/buildkit 的代码链
output: type=image,push=true
# 👇 2. 核心:完全对齐官方不安全设置文档,强制 BuildKit 放行纯 HTTP # 👇 2. 核心:完全对齐官方不安全设置文档,强制 BuildKit 放行纯 HTTP
buildkit_config: | buildkit_config: |
[registry."push.lovestory.cyou"] [registry."push.lovestory.cyou"]