@@ -34,7 +34,8 @@ volumes:
# 定义流水线挂载目录,用于共享数据
- name: maven-cache
host:
- path: /mydata/maven/test
+ path: /mydata/maven/cache
- name: maven-build
+ # 从宿主机中挂载的目录
- path: /mydata/maven/build # 从宿主机中挂载的目录
+ path: /mydata/maven/build