- 添加 driver-opts 参数指定使用 docker.1ms.run/moby/buildkit:buildx-stable-1 镜像 - 优化 Docker Buildx 初始化配置以提高构建稳定性
@@ -28,6 +28,9 @@ jobs:
- name: 设置 Docker Buildx
uses: https://gitee.com/zyh320888/setup-buildx-action@v3
+ with:
+ driver-opts: |
+ image=docker.1ms.run/moby/buildkit:buildx-stable-1
- name: 提取版本号和处理仓库名
id: extract_info