We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <image> <name>in28min/master-MS-${project.artifactId}:${project.version}</name> </image> <pullPolicy>IF_NOT_PRESENT</pullPolicy> </configuration> </plugin>
The above configuration doesn't work. Had to google search a lot. Used older method to create docker image as below:
<plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <!-- version>1.4.0</version--> <configuration> <repository>abcoolynr/${project.artifactId}</repository> <tag>${project.version}</tag> <buildArgs> <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE> </buildArgs> </configuration> <executions> <execution> <id>default</id> <phase>install</phase> <goals> <goal>build</goal> <goal>push</goal> </goals> </execution> </executions> </plugin>
push fails with this older method as well but at least the docker image gets created.
Please check your code and update it at intervals. Just making tutorials and dumping them on students is not good.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The above configuration doesn't work.
Had to google search a lot.
Used older method to create docker image as below:
push fails with this older method as well but at least the docker image gets created.
Please check your code and update it at intervals. Just making tutorials and dumping them on students is not good.
The text was updated successfully, but these errors were encountered: