From 97ff5e1be932a302339a36d835269af98dbe09bc Mon Sep 17 00:00:00 2001 From: jeremygan2021 Date: Fri, 13 Feb 2026 20:13:04 +0800 Subject: [PATCH] action --- .gitea/workflows/deploy.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5e98560..8f929ec 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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