-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mvn docker:push fails for me, but mvn docker:build and docker push works #33
Comments
Frankly, never tried it yet with a private registry and user repository (i.e. with a second slash in the repository name). There could be dragons, indeed. 'will have to setup a private registry, might take a bit. |
Roland, check the integration test of my plugin, it uses a private registry as a docker container. |
thx, will check it ASAP. 'will have to write some documentation for my new config syntax first (and finally pump up the test coverage ...). But still might take a bit since I have some conference talks to do, too. Positive stress ;-) BTW, I setup some sort of 'shootout' (in a funny sense ;-) of docker-maven-plugins at rhuss/shootout-docker-maven with a simple microservice accessing porstgres. README is still missing but the pom.xml contains quit some comments and mentions some quirks. Feel free to correct me or send updates via PRs, I will apply them promptly. |
I merged in PR #40 which should fix that one. You have to specify the full name (including registry) as image name, though. I will soon add the possibility to configure a registry alternatively (which then will do the local tagging transparently), either per build config, in the global config or with a environment variable. |
There has been quite some enhancements for private registry handling recently. Does pushing to a private registry works for you with version 0.11.2 ? |
Hi Roland,
|
do you have an empty <authConfig>
<username></username>
<password></password>
</authConfig> |
With empty authConfig works. |
Indeed, will check this for the next version. Thanks ... |
yeah - i think this is some requirement of the docker registry where the |
This will be fixed when #102 is fixed. Closing that one. |
So I can totally do this...
http://fabric8.io/v2/mavenPlugin.html#example
(or I can type docker push XXX and just copy/paste the image name from the output of the "mvn docker:build) and that works too.
but if I try "docker:push") I always get a failure:
I've not had chance to delve into whats wrong though
The text was updated successfully, but these errors were encountered: