diff --git a/.drone.yml b/.drone.yml index 4f6c45f..5d91f72 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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