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
@tpischke-bedag Could you test the current release version of the Maven extension and give me feedback if it works in your use case? IMHO there are some dependencies clean-ups to do. If it is better for the community, I can move the Maven extension to this project (@rhuss what do you think?). But we cannot merge it with the plugin because a Maven extension is a separate concept towards a Maven plugin.
During testing, I get the following error at the end of the build:
build 01-Jul-2021 13:25:08 [WARNING] Failed to notify spy com.github.sparsick.maven.docker.extension.DockerPushExtension: {"message":"invalid reference format"}
The push works normally when the extension is not active. The image name is composed using some maven properties, maybe they are not being resolved correctly?
@tpischke-bedag Sorry for my delayed answer. I wrote a test to reproduce your issue. It shows that the Maven properties are solved correctly. You should see the docker image name as log info ("Found docker image names ...").
Regards to debugging: Do you try mvnDebug instead of using -X flag?
@tpischke-bedag Could you test the current release version of the Maven extension and give me feedback if it works in your use case? IMHO there are some dependencies clean-ups to do. If it is better for the community, I can move the Maven extension to this project (@rhuss what do you think?). But we cannot merge it with the plugin because a Maven extension is a separate concept towards a Maven plugin.
During testing, I get the following error at the end of the build:
build 01-Jul-2021 13:25:08 [WARNING] Failed to notify spy com.github.sparsick.maven.docker.extension.DockerPushExtension: {"message":"invalid reference format"}
The push works normally when the extension is not active. The image name is composed using some maven properties, maybe they are not being resolved correctly?
registry.example.com/${docker.namespace}/backend:git-commit-id_${git.commit.id}
My suspicion is that the following code does not allow for interpolation of maven properties in the image name:
private void parseDockerImageName(Object configuration) {
LOGGER.debug("Configuration: {}", configuration);
I haven't been able to get the extension to log any debug information, even with the maven -X flag, is there some trick to turn on the logging?
The text was updated successfully, but these errors were encountered: