-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Description
Description
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_REGISTRYenvironment variable to a registry other than Docker Hub. - Run
mvn -Ddocker.build.jib=true docker:build docker:push
Metadata
Metadata
Assignees
Labels
No labels