question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When deployAtEnd is set, d-m-p should push docker images after a multi-module build

See original GitHub issue

Description

The idea is cloned from maven-deploy-plugin. When the user property deployAtEnd is set, d-m-p should push all Docker images at the end of multi module build. These docker images are created during this multi module build.

  • If it’s a feature request, what is your use case : In a CI build I want to ensure that the multi module build runs successfully before the docker images are pushed to the registry.

Workaround:

mvn deploy -DdeployAtEnd -Ddocker.skip.push
mvn docker:push

I think it’s relate to #745

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:12

github_iconTop GitHub Comments

3reactions
sparsickcommented, Jul 6, 2020

I release the first version of the Maven Extension. It is available in Maven Central

3reactions
sparsickcommented, May 17, 2020

I started a PoC for this issue.

Currently, test infrastructure and the skeleton is set up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker push - Docker Documentation
Use docker image push to share your images to the Docker Hub registry or to a self-hosted one. Refer to the docker image...
Read more >
Building docker image for multi module project pushing jars to ...
So ideally when the build happens it the image should have a classpath where both modules jar are to be present. But with...
Read more >
Build maven project with push to docker hub in same time
in this article i want explain about how i can build maven project and push to docker hub after install phase in maven...
Read more >
Containerizing Maven/Gradle based Multi Module Spring Boot ...
For Maven, we need to configure multi module projects with <modules> in Root ... Build and create docker images for all modules from...
Read more >
Registry Magic with docker-maven-plugin - Roland Huß
Pushing built images to a registry with docker:push. In both cases you can define your build agnostic from any registry by omitting the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found