fix(CI): 调整CI镜像
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
18b8597876
commit
93f213aaed
36
.drone.yml
36
.drone.yml
|
|
@ -11,25 +11,25 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- ls -la
|
- ls -la
|
||||||
- ls -la Dockerfile # 查看当前文件夹是否包含了Dockerfile
|
- ls -la Dockerfile # 查看当前文件夹是否包含了Dockerfile
|
||||||
- name: publish
|
# - name: publish
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: nexus_username
|
# from_secret: nexus_username
|
||||||
password:
|
# password:
|
||||||
from_secret: nexus_password
|
# from_secret: nexus_password
|
||||||
pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
|
# pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
|
||||||
dockerfile: Dockerfile
|
# dockerfile: Dockerfile
|
||||||
tags: latest
|
# tags: latest
|
||||||
# you need insecure: true since we don't have a TLS certificate
|
# # you need insecure: true since we don't have a TLS certificate
|
||||||
insecure: true
|
# insecure: true
|
||||||
registry: 192.168.31.104:8082
|
# registry: 192.168.31.104:8082
|
||||||
repo: 192.168.31.104:8082/tiamo/user-point-management
|
# repo: 192.168.31.104:8082/tiamo/user-point-management
|
||||||
volumes:
|
# volumes:
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
path: /var/run/docker.sock
|
# path: /var/run/docker.sock
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: ghcr.io/appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: 192.168.31.104
|
host: 192.168.31.104
|
||||||
port: 22
|
port: 22
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue