Comments (1)
Hi @shink,
Without warranty (not tested): I guess you have to use multiple executable configurations within the executables tag of your plugin config. Move the configuration into each as usual.
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.14.13</version>
<executions>
<execution>
<id>default</id>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
<configuration>
<repository>spotify/foobar</repository>
<tag>${project.version}</tag>
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
</execution>
<execution>
<id>second</id>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
<phase>install</phase>
<configuration>
<repository>foo/bar</repository>
<tag>bar</tag>
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
</execution>
</executions>
</plugin>
from dockerfile-maven.
Related Issues (20)
- Failed to execute goal com.spotify:docker-maven-plugin:1.1.1:push (push-image) on project HOT 7
- Caused by: com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.io.FileNotFoundException: \\.\pipe\docker_engine (The system cannot find the specified file) HOT 2
- idea开发环境下 ,用dockerfile-maven插件把springboot项目 打包成docker镜像超超超慢,什么原因 HOT 1
- Spring boot project no main manifest attribute HOT 1
- [BUG] -Ddockerfile.skip=yes not working HOT 1
- java.lang.ExceptionInInitializerError when deploying a bar file to ESB HOT 1
- Very slow HOT 3
- Cannot run program "docker-credential-gcloud": CreateProcess error=2, 系统找不到指定的文件。 HOT 1
- dockerHostUri didn't work HOT 3
- raspberry pi mvn dockerfile:build fail HOT 6
- How to building Docker Image in Maven Project of multi-module HOT 2
- Cannot push to ECR HOT 2
- Incompatibility with podman-docker HOT 2
- GCloud Credential Helper on Windows doesn't work out-of-the-box HOT 2
- dockerfile-maven-plugin tries to decrypt passwords given as property in settings.xml HOT 1
- Java Virtual machine say Error:Invalid or corupt file HOT 2
- cacheFrom does not work HOT 2
- ImageRef.parseRegistryUrl:112 HOT 1
- Plugin fails to run on Apple silicon (M1, M1 Pro, M1 Max) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfile-maven.