Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Native client + Repository with HTTP Basic authentication #60

Open gessnerfl opened 9 years ago

gessnerfl commented 9 years ago

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?

StFS commented 8 years ago

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

docker {
    maintainer 'Me "myself@i.com"'
    baseImage "some_base_image"
    registry = "docker.i.com"
    retistryUser="me"
    registryPassword="memyselfandI"    
}
jromero commented 7 years ago

+1

gessnerfl commented 7 years ago

The example looks also fine for me +1

RDevet commented 7 years ago

+1

cryptiklemur commented 6 years ago

Is this possible yet?