Skip to content

root pom #6 replace docker plugin#7

Merged
cerveada merged 1 commit into
mainfrom
feature/root-pom-6-replace-docker-plugin
Feb 14, 2023
Merged

root pom #6 replace docker plugin#7
cerveada merged 1 commit into
mainfrom
feature/root-pom-6-replace-docker-plugin

Conversation

@cerveada
Copy link
Copy Markdown
Contributor

@cerveada cerveada commented Feb 9, 2023

fixes #6

Tested together with AbsaOSS/spline#1169

  • local image build test ✅
  • push to docker registry (running in docker) test ✅
  • using auth from team city (not tested but should work)

@cerveada cerveada marked this pull request as ready for review February 10, 2023 08:10
@cerveada cerveada requested a review from wajda February 10, 2023 08:13
Comment thread pom.xml
<skip>true</skip>
<!-- Dockerfile plugin requires <repository> to be non-empty even if <skip> is true -->
<repository>${dockerfile.repository}</repository>
<buildArgs combine.children="append">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was there to make it easy to pass more properties into the dockerfile from the child POM.
How is this achieved in the new configuration?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only needed for adding elements of the same name. Since args have each different name there is no need for it.

Copy link
Copy Markdown
Contributor

@miroslavpojer miroslavpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • code reviewed
  • pulled
  • built
  • docker containers exist

@cerveada cerveada merged commit dea7551 into main Feb 14, 2023
@cerveada cerveada deleted the feature/root-pom-6-replace-docker-plugin branch February 14, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

replace com.spotify:dockerfile-maven-plugin

3 participants