新增工作流3
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Failing after 1m52s

This commit is contained in:
mocheng 2025-08-14 21:07:03 +08:00
parent db30232834
commit 44e6a1b556

View File

@ -27,9 +27,9 @@ jobs:
- name: 构建并推送Docker镜像
env:
# 目标仓库的容器注册表地址
TARGET_REGISTRY: 172.100.10.45:3000
TARGET_REGISTRY: 10.20.1.60:5000
# 目标代码仓库路径(组织/仓库名,严格区分大小写)
TARGET_REPO: by2025/dockerimage # 替换为目标仓库路径
TARGET_REPO: by2025 # 替换为目标仓库路径
# 登录目标仓库的账户密码在Gitea secrets中配置
REGISTRY_USERNAME: ${{ secrets.TARGET_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.TARGET_REGISTRY_PASSWORD }}