镜像源修改
This commit is contained in:
parent
02740c701e
commit
497c101b5b
@ -21,7 +21,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
|
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
|
||||||
|
|
||||||
commands: # 定义在Docker容器中执行的shell命令
|
commands: # 定义在Docker容器中执行的shell命令
|
||||||
- mvn clean package -Dmaven.test.skip=true -Dmaven.repo.remote=http://maven.aliyun.com/nexus/content/groups/public/,http://maven.aliyun.com/nexus/content/repositories/central/,http://repo2.maven.org/maven2/ # 应用打包命令
|
- mvn clean package -Dmaven.test.skip=true # 应用打包命令
|
||||||
- |
|
- |
|
||||||
if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
|
if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
|
||||||
cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target
|
cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
yudao-gateway:
|
yudao-gateway:
|
||||||
image: 120.46.37.243:8080/lundu/yudao-gateway:1.0.0
|
image: 120.46.37.243:8080/lundu/yudao-gateway:1.0.2
|
||||||
container_name: yudao-gateway
|
container_name: yudao-gateway
|
||||||
networks:
|
networks:
|
||||||
- ludu_network
|
- ludu_network
|
||||||
|
Loading…
Reference in New Issue
Block a user