pom镜像修改
This commit is contained in:
parent
f95361ad23
commit
c6f2684150
@ -89,7 +89,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
# docker rmi -f ${image_name}:1.0.0
|
# docker rmi -f ${image_name}:1.0.0
|
||||||
# docker buildx build -f Dockerfile -t ${image_name}:1.0.0 .
|
# docker buildx build -f Dockerfile -t ${image_name}:1.0.0 .
|
||||||
# docker tag ${image_name}:1.0.0 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
# docker tag ${image_name}:1.0.0 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
||||||
# docker pull 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
# docker push 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
||||||
# }
|
# }
|
||||||
# if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
|
# if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
|
||||||
# deploy_service "yudao-gateway" "yudao-gateway"
|
# deploy_service "yudao-gateway" "yudao-gateway"
|
||||||
|
27
pom.xml
27
pom.xml
@ -128,18 +128,29 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<!-- 使用 huawei / aliyun 的 Maven 源,提升下载速度 -->
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>huaweicloud</id>
|
<id>public</id>
|
||||||
<name>huawei</name>
|
<name>aliyun nexus</name>
|
||||||
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
|
||||||
<id>aliyunmaven</id>
|
|
||||||
<name>aliyun</name>
|
|
||||||
<url>https://maven.aliyun.com/repository/public</url>
|
<url>https://maven.aliyun.com/repository/public</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>public</id>
|
||||||
|
<name>aliyun nexus</name>
|
||||||
|
<url>https://maven.aliyun.com/repository/public</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user