Browse Source

👷 ci(release): 配置 Docker Buildx 使用自定义镜像

- 添加 driver-opts 参数指定使用 docker.1ms.run/moby/buildkit:buildx-stable-1 镜像
- 优化 Docker Buildx 初始化配置以提高构建稳定性
yourname 1 month ago
parent
commit
bae4442ab2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .gitea/workflows/release.yaml

+ 3 - 0
.gitea/workflows/release.yaml

@@ -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