增加Docker Hub认证信息
This commit is contained in:
parent
6c64d04822
commit
c4af42956b
15
.drone.yml
15
.drone.yml
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user