👷 ci(workflow): 将 Actions 引用从 Gitee 镜像切换回 GitHub 原生

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
zyh320888
2026-04-17 01:22:19 +00:00
parent 978489d190
commit 856a912a05

View File

@@ -13,7 +13,7 @@ jobs:
- run: echo "🔎 您的标签名称是 ${{ gitea.ref_name }},仓库是 ${{ gitea.repository }}。"
- name: 检出仓库代码
uses: https://gitee.com/zyh320888/checkout@v4
uses: actions/checkout@v4
- run: echo "💡 ${{ gitea.repository }} 仓库已克隆到运行器。"
- run: echo "🖥️ 工作流现在已准备好在运行器上测试您的代码。"
@@ -25,7 +25,7 @@ jobs:
- run: echo "🍏 此作业的状态是 ${{ job.status }}。"
- name: 设置 Docker Buildx
uses: https://gitee.com/zyh320888/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
image=docker.1ms.run/moby/buildkit:master
@@ -40,14 +40,14 @@ jobs:
echo "提取的版本号:$VERSION"
- name: 登录 Docker 注册表
uses: https://gitee.com/zyh320888/login-action@v3
uses: docker/login-action@v3
with:
registry: registry.cn-beijing.aliyuncs.com
username: ${{ secrets.ALI_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.ALI_DOCKER_REGISTRY_PASSWORD }}
- name: 构建并推送 Virtual Kubelet 镜像
uses: https://gitee.com/zyh320888/build-push-action@v5
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile