From 0a30bacb5464b89b56fde010d419d9f022b27c75 Mon Sep 17 00:00:00 2001 From: MR-ZC <1475796375@qq.com> Date: Tue, 25 Mar 2025 15:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20GitHub=20Actions=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=8C=E4=BF=AE=E6=94=B9=20Docker?= =?UTF-8?q?=20Registry=20=E5=9C=B0=E5=9D=80=E5=92=8C=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=EF=BC=8C=E4=BB=A5=E9=80=82=E5=BA=94=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E5=86=8C=E6=9C=8D=E5=8A=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index c12b24d..55853d0 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -16,7 +16,7 @@ jobs: - name: 登录到Docker Registry💻 uses: docker/login-action@v3 with: - registry: your-registry.com + registry: registry.fandouke.com username: ${{ secrets.DOCKER_USER }} # 如果需要用户名 password: "" # 空密码 @@ -25,5 +25,5 @@ jobs: with: context: . file: ./Dockerfile # 指定 Dockerfile 路径 - tags: your-registry.com/your-image:latest # 镜像标签(包含 Registry 地址) + tags: registry.fandouke.com/test-image:latest # 镜像标签(包含 Registry 地址) push: true \ No newline at end of file