更新 GitHub Actions 工作流,修改 Docker Registry 地址和镜像标签,以适应新的注册服务。
This commit is contained in:
parent
fcfddbafa9
commit
0a30bacb54
4
.github/workflows/docker-build.yml
vendored
4
.github/workflows/docker-build.yml
vendored
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user