Comments (8)
We actually don't have any way to provide credentials, so pushing to the public registry isn't going to work. We'd need to add that to docker-client. It's not on our backlog right now, but happy to accept a pull request.
from docker-maven-plugin.
Ah I see! I thought it used the underlying docker credentials. So if the underlying docker is logged-in it would use those credentials inherently when pushing images.
I'll see if I can contribute something here.
from docker-maven-plugin.
I'm having the issue, trying to push to a private registry on the docker hup.
Any update on this ?
from docker-maven-plugin.
@mattijsf @JakubKahovec docker-client supports pushing with auth credentials here https://github.com/spotify/docker-client/blob/master/src/main/java/com/spotify/docker/client/DefaultDockerClient.java#L719. We need to make docker-maven-plugin set the creds.
from docker-maven-plugin.
It'd be great if it's possible to fetch the credentials (the password especially) from env or sys variables so they are not exposed in the pom file.
from docker-maven-plugin.
Creds dont have to be in the versioned pom. I see many people putting
passwords in their maven settings.xml file which isn't versioned. These can
also be overridden with -D options
On Saturday, January 31, 2015, Jakub Kahovec [email protected]
wrote:
It'd be great if it's possible to fetch the credentials (the password
especially) from env or sys variables so they are not exposed in the pom
file.—
Reply to this email directly or view it on GitHub
#35 (comment)
.
David Xia
Software Engineer
[email protected]
from docker-maven-plugin.
@mattijsf Do you still need help or can I close this?
from docker-maven-plugin.
Thanks, you can close it.
from docker-maven-plugin.
Related Issues (20)
- Not working with jdk11 HOT 4
- Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build HOT 5
- Problem connecting to Docker on Vagrant HOT 1
- 推送镜像至私服时,即使设置的imageTag,仍然会生成一个latest的tag,且两个tag的镜像id相同,如何设置才能覆盖latest的tag而只生成自己设置的tag呢 HOT 2
- how can i get git commit Id in lables
- =>
- Show Sending build context to Docker daemon ***GB HOT 1
- com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html HOT 3
- k8s gitlab runner dose not work with docker maven plugin
- Authentication usernamenot support chinese HOT 1
- Support for Red Hat Enterprise Linux 8? HOT 1
- Can this plugin be used to publish docker image to docker.pkg.github.com HOT 1
- Status? HOT 1
- Schema specific part is opaque HOT 1
- Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project HOT 3
- Remote DOCKER_HOST configuration does not work with ssh protocol HOT 3
- How to building Docker Image in Maven Project of multi-module HOT 2
- gitlab ci not execute deploy with docker maven plugin HOT 1
- push image to registry fail HOT 1
- I am using docker maven plugin and I made intentionally error in application (bean creation exception) but always I am getting error in generic was saying Docker IO error [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.32.0:start (docker-start) on project captcha-validator-integration-test: I/O Error: [***.azurecr.io/ssib/captcha-validator-service:1.2.0-SNAPSHOT] "service-captcha-validator": Timeout after 120460 ms while waiting on log out 'Started CaptchaValidatorApplication' -> [Help 1] [ERROR] [ERROR] How to display actual error in logs?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-maven-plugin.