gradle-docker icon indicating copy to clipboard operation
gradle-docker copied to clipboard

Native client + Repository with HTTP Basic authentication

Open gessnerfl opened this issue 10 years ago • 5 comments

I'm running a private docker registry 2.0 proxied by nginx. To upload data HTTP basic authentication is required. For the build I am using the native client. Is it possible to push data to the repository using basic authentication (docker login .... )? As far as I can see it is not available in the sources. Is this feature planned?

gessnerfl avatar Sep 06 '15 18:09 gessnerfl

I agree... this should be supported via the DSL, for example:

docker {
    maintainer 'Me "[email protected]"'
    baseImage "some_base_image"
    registry = "docker.i.com"
    retistryUser="me"
    registryPassword="memyselfandI"    
}

StFS avatar May 06 '16 18:05 StFS

+1

jromero avatar Oct 28 '16 19:10 jromero

The example looks also fine for me +1

gessnerfl avatar Oct 30 '16 13:10 gessnerfl

+1

RDevet avatar Jan 06 '17 17:01 RDevet

Is this possible yet?

cryptiklemur avatar Feb 08 '18 20:02 cryptiklemur