更新GitHub Actions工作流以使用Harbor仓库

- 将阿里云容器镜像服务替换为harbor.ay.lc
- 更新镜像推送名称为harbor.ay.lc/library/dell-fans-controller
- 更新README.md中的仓库信息
This commit is contained in:
2025-12-02 17:53:43 +08:00
parent 96cc75f2d9
commit 55f44a79fb
2 changed files with 7 additions and 7 deletions

View File

@@ -26,12 +26,12 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Login to Alibaba Cloud Container Registry
- name: Login to Harbor Registry
uses: docker/login-action@v2
with:
registry: registry.cn-huhehaote.aliyuncs.com
username: ${{ secrets.ALIBABA_USERNAME }}
password: ${{ secrets.ALIBABA_PASSWORD }}
registry: harbor.ay.lc
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
@@ -39,7 +39,7 @@ jobs:
with:
images: |
joestar817/dell-fans-controller-docker
registry.cn-huhehaote.aliyuncs.com/lkddi_image/dell-fans-controller-docker
harbor.ay.lc/library/dell-fans-controller
tags: |
type=ref,event=branch
type=ref,event=pr

View File

@@ -30,10 +30,10 @@ docker run -d --name=dell-fans-controller-docker -e HOST=10.10.11.11 -e USERNAM
### Docker 镜像构建
本项目通过 GitHub Actions 自动构建 Docker 镜像,并推送到 Docker Hub 和阿里云容器镜像服务
本项目通过 GitHub Actions 自动构建 Docker 镜像,并推送到 Docker Hub 和 Harbor 私有仓库
- Docker Hub: `joestar817/dell-fans-controller-docker:latest`
- 阿里云: `registry.cn-huhehaote.aliyuncs.com/lkddi_image/dell-fans-controller-docker:latest`
- Harbor: `harbor.ay.lc/library/dell-fans-controller:latest`
镜像支持多架构 (linux/amd64, linux/arm64)