action
Some checks failed
构建并部署 / build-and-deploy (push) Failing after 3s

This commit is contained in:
jeremygan2021
2026-02-13 20:13:04 +08:00
parent 5328f88ad3
commit 97ff5e1be9

View File

@@ -15,7 +15,8 @@ jobs:
image: catthehacker/ubuntu:act-latest
steps:
- name: 检出代码
uses: actions/checkout@v3
# 使用 gitea.com 镜像源以解决 GitHub 连接问题
uses: https://gitea.com/actions/checkout@v3
# 1. 登录 Docker Registry (已跳过,无密码模式)1
# - name: 登录到私有 Registry
@@ -27,7 +28,7 @@ jobs:
# 2. 构建并推送镜像
- name: 配置 Buildx
uses: docker/setup-buildx-action@v2
uses: https://gitea.com/actions/setup-buildx-action@v2
with:
driver-opts: network=host
buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
@@ -39,7 +40,7 @@ jobs:
insecure = true
- name: 构建并推送 Docker 镜像
uses: docker/build-push-action@v4
uses: https://gitea.com/actions/build-push-action@v4
with:
context: .
push: true