|
|
@@ -11,11 +11,11 @@ steps:
|
|
|
# 设置Git镜像版本,下载仓库文件
|
|
|
# 如果上面没有设置clone,此处需要删除(如果不删除,在pipeline中将多一个clone,pipeline会出错)
|
|
|
- name: clone
|
|
|
- image: dhub.kubesre.xyz/drone/git:1.2.1
|
|
|
+ image: drone/git:1.2.1
|
|
|
|
|
|
# 构建和编译Java项目
|
|
|
- name: maven-build
|
|
|
- image: dhub.kubesre.xyz/maven:3.8.4
|
|
|
+ image: maven:3.8.4
|
|
|
volumes:
|
|
|
# Maven缓存目录
|
|
|
- name: mvn-cache
|
|
|
@@ -27,7 +27,7 @@ steps:
|
|
|
|
|
|
# 发布项目
|
|
|
- name: test
|
|
|
- image: dhub.kubesre.xyz/appleboy/drone-ssh:1.6.4
|
|
|
+ image: appleboy/drone-ssh:1.6.4
|
|
|
settings:
|
|
|
# 部署主机的IP 11
|
|
|
host: 8.155.171.167
|