t
Some checks failed
构建并部署 / build-and-deploy (push) Has been cancelled

This commit is contained in:
jeremygan2021
2026-02-13 20:50:52 +08:00
parent 91f97d2487
commit 7ff83a0231

View File

@@ -28,7 +28,8 @@ jobs:
# 2. 构建并推送镜像
- name: 配置 Buildx
uses: docker/setup-buildx-action@v2
# 使用 gitea.com 镜像源以解决 GitHub 连接问题
uses: https://gitea.com/docker/setup-buildx-action@v2
with:
driver-opts: network=host
buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
@@ -40,7 +41,8 @@ jobs:
insecure = true
- name: 构建并推送 Docker 镜像
uses: docker/build-push-action@v4
# 使用 gitea.com 镜像源以解决 GitHub 连接问题
uses: https://gitea.com/docker/build-push-action@v4
with:
context: .
push: true