You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my Dockerfile in src/main/docker in the project's root folder.
And in pom.xml I've added code to trigger the image building only if a certain parameter is passed.
However, because of the fact I've put the Dockerfile in src/main/docker - the plugin automatically initiates the Docker image building. If the Dockerfile is in another folder - no problem.
So - what parameter(s) should I pass so that it doesn't do this automatically? ... And the logic for triggering the build depends only the CLI parameter I've configured?
PS: The current configuration is somewhat this one:
Description
I have my Dockerfile in
src/main/docker
in the project's root folder.And in
pom.xml
I've added code to trigger the image building only if a certain parameter is passed.However, because of the fact I've put the Dockerfile in
src/main/docker
- the plugin automatically initiates the Docker image building. If the Dockerfile is in another folder - no problem.So - what parameter(s) should I pass so that it doesn't do this automatically? ... And the logic for triggering the build depends only the CLI parameter I've configured?
PS: The current configuration is somewhat this one:
Info
mvn -v
) : 3.9.6The text was updated successfully, but these errors were encountered: