From 93f213aaed00d2b9646c72cc63c22b09a5bc4202 Mon Sep 17 00:00:00 2001 From: zhangyousheng Date: Mon, 14 Aug 2023 09:49:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(CI):=20=E8=B0=83=E6=95=B4CI=E9=95=9C?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7f60fcd..76de6b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,25 +11,25 @@ steps: commands: - ls -la - ls -la Dockerfile # 查看当前文件夹是否包含了Dockerfile - - name: publish - image: plugins/docker - settings: - username: - from_secret: nexus_username - password: - from_secret: nexus_password - pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载 - dockerfile: Dockerfile - tags: latest - # you need insecure: true since we don't have a TLS certificate - insecure: true - registry: 192.168.31.104:8082 - repo: 192.168.31.104:8082/tiamo/user-point-management - volumes: - - name: dockersock - path: /var/run/docker.sock +# - name: publish +# image: plugins/docker +# settings: +# username: +# from_secret: nexus_username +# password: +# from_secret: nexus_password +# pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载 +# dockerfile: Dockerfile +# tags: latest +# # you need insecure: true since we don't have a TLS certificate +# insecure: true +# registry: 192.168.31.104:8082 +# repo: 192.168.31.104:8082/tiamo/user-point-management +# volumes: +# - name: dockersock +# path: /var/run/docker.sock - name: deploy - image: appleboy/drone-ssh + image: ghcr.io/appleboy/drone-ssh settings: host: 192.168.31.104 port: 22