增加Docker Hub认证信息
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
seahi 2025-04-18 12:25:12 +08:00
parent 6c64d04822
commit c4af42956b

View File

@ -20,9 +20,16 @@ steps:
login: true login: true
dockerfile: Dockerfile dockerfile: Dockerfile
auto-tag: true auto-tag: true
registry: harbor.seahi.me registry: docker.io
repo: harbor.seahi.me/stu/task-supervisor
username: username:
from_secret: harbor_username from_secret: dockerhub_username
password: password:
from_secret: harbor_password from_secret: dockerhub_password
# 配置 Harbor 作为推送目标(通过额外的参数)
repo: harbor.seahi.me/stu/task-supervisor
custom_registries:
- registry: harbor.seahi.me
username:
from_secret: harbor_username
password:
from_secret: harbor_password