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
When docker.build.jib is set to true, the docker:push goal ignores the value of the DOCKER_REGISTRY environment variable. It instead tries to push to Docker Hub.
When docker.build.jib is set to false, it correctly pushes to the registry specifed in that environment variable.
Info
docker-maven-plugin version : 0.40.2
Maven version (mvn -v) : 3.5.0
Docker version :
If it's a bug, how to reproduce :
Specify the image name without a registry.
Do not specify the <registry> subelement of the <image> configuration.
Do not specify a global configuration element <registry>
Set the DOCKER_REGISTRY environment variable to a registry other than Docker Hub.
Run mvn -Ddocker.build.jib=true docker:build docker:push
The text was updated successfully, but these errors were encountered:
)
JibBuildService should check all available registry options before
submitting ImageConfiguration to Jib.
Signed-off-by: Rohan Kumar <[email protected]>
JibBuildService should check all available registry options before
submitting ImageConfiguration to Jib.
Signed-off-by: Rohan Kumar <[email protected]>
Description
When
docker.build.jib
is set totrue
, thedocker:push
goal ignores the value of theDOCKER_REGISTRY
environment variable. It instead tries to push to Docker Hub.When
docker.build.jib
is set tofalse
, it correctly pushes to the registry specifed in that environment variable.Info
mvn -v
) : 3.5.0<registry>
subelement of the<image>
configuration.<registry>
DOCKER_REGISTRY
environment variable to a registry other than Docker Hub.mvn -Ddocker.build.jib=true docker:build docker:push
The text was updated successfully, but these errors were encountered: