更新 GitHub Actions 工作流,修改 Docker Registry 地址和镜像标签,以适应新的注册服务。

This commit is contained in:
MR-ZC 2025-03-25 15:55:48 +08:00
parent fcfddbafa9
commit 0a30bacb54

View File

@ -16,7 +16,7 @@ jobs:
- name: 登录到Docker Registry💻 - name: 登录到Docker Registry💻
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: your-registry.com registry: registry.fandouke.com
username: ${{ secrets.DOCKER_USER }} # 如果需要用户名 username: ${{ secrets.DOCKER_USER }} # 如果需要用户名
password: "" # 空密码 password: "" # 空密码
@ -25,5 +25,5 @@ jobs:
with: with:
context: . context: .
file: ./Dockerfile # 指定 Dockerfile 路径 file: ./Dockerfile # 指定 Dockerfile 路径
tags: your-registry.com/your-image:latest # 镜像标签(包含 Registry 地址) tags: registry.fandouke.com/test-image:latest # 镜像标签(包含 Registry 地址)
push: true push: true