fix(CI): 修改帐号密码登入方式
continuous-integration/drone/push Build is passing Details

develop
Yosheng 2023-08-06 00:03:59 +08:00
parent a54e88f9d7
commit e2526d33d0
1 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,8 @@ steps:
- name: publish
image: plugins/docker
settings:
username: drone
password: dronepw
pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
dockerfile: Dockerfile
tags: latest
@ -21,8 +23,6 @@ steps:
insecure: true
registry: 192.168.31.104:8082
repo: 192.168.31.104:8082/tiamo/user-point-management
# create the docker_username and docker_password secrets in Drone, with Nexus' username & password
secrets: [ drone, dronepw ]
storage_driver: vfs #解决群晖btrfs,而docker内用的是vfs
volumes:
- name: dockersock