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
The cause is that FormatParameterReplacer will do a lookup. In the lookup we get the docker.image.tag property but return directly instead of trying to replace the %l. Mysteriously, we only do that for docker.image.tag and not docker.image.repo or anything else.
See the demo project above to reproduce but the layout is:
henri-tremblay
changed the title
docker.image.tag doesn't behave normally when used during docker:build
A placeholder in docker.image.tag isn't replaced by the final result when used during docker:build
May 6, 2021
henri-tremblay
pushed a commit
to henri-tremblay/docker-maven-plugin
that referenced
this issue
May 6, 2021
…is occurs when docker.image.name is constructed with ${docker.image.repo}:${docker.image.tag} (#1468) (#1469)
Co-authored-by: Henri Tremblay <Henri.Tremblay@tradingscreen.com>
Description
If the property
docker.image.tag
is set to%l
and used in the image name,docker:build
will fail to replace%l
in the image name.Info
mvn docker:build
The cause is that FormatParameterReplacer will do a lookup. In the lookup we get the
docker.image.tag
property but return directly instead of trying to replace the%l
. Mysteriously, we only do that fordocker.image.tag
and notdocker.image.repo
or anything else.See the demo project above to reproduce but the layout is:
The text was updated successfully, but these errors were encountered: