因为 Docker 命名规范的问题导致镜像无法构建。

参考:https://www.ossez.com/t/docker/14373 解决问题
This commit is contained in:
YuCheng Hu 2023-04-06 18:17:44 -04:00
parent 5a7e179b7a
commit b3120468c8
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@
<verbose>true</verbose> <verbose>true</verbose>
<images> <images>
<image> <image>
<name>${project.name}:${project.version}</name> <name>${project.artifactId}:${project.version}</name>
<build> <build>
<dockerFileDir>${project.basedir}</dockerFileDir> <dockerFileDir>${project.basedir}</dockerFileDir>
</build> </build>