Skip to content

Commit

Permalink
镜像配置相关提交
Browse files Browse the repository at this point in the history
  • Loading branch information
chopper711 committed Sep 15, 2021
1 parent b0dc4db commit a3564c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions docker-image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mvn clean package docker:build -DskipTests -DpushImage
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<java.version>1.8</java.version>
<revision>4.2.2</revision>
<docker-registry>registry.cn-beijing.aliyuncs.com/lili-images</docker-registry>
<images-version>0.0.1</images-version>
<images-version>1</images-version>
<swagger-bootstrap-ui-version>1.9.6</swagger-bootstrap-ui-version>
<alipay-sdk-version>4.13.40.ALL</alipay-sdk-version>
<mysql-connector-version>5.1.48</mysql-connector-version>
Expand Down Expand Up @@ -85,7 +85,7 @@
<artifactId>docker-maven-plugin</artifactId>
<version>${spotify}</version>
<configuration>
<imageName>${docker-registry}/${project.build.finalName}:${images-version}</imageName>
<imageName>${docker-registry}/${project.artifactId}:${revision}.${images-version}</imageName>
<baseImage>java</baseImage>
<entryPoint>["java", "-jar", "/${project.build.finalName}.jar"]</entryPoint>
<pushImage>true</pushImage>
Expand Down

0 comments on commit a3564c7

Please sign in to comment.