diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 13555a7..ac3a4a1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -24,6 +24,16 @@ jobs: # password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} # 2. 构建并推送镜像 + - name: 配置 Buildx + uses: docker/setup-buildx-action@v2 + with: + driver-opts: network=host + buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host + config-inline: | + [registry."121.43.104.161:6500"] + http = true + insecure = true + - name: 构建并推送 Docker 镜像 uses: docker/build-push-action@v4 with: