Closed sgoings closed 10 years ago
Ooops!
I had a few problems:
docker {
registry = https://docker.example.com // obviously not example.com
// should be
registry = docker.example.com
}
task dockerContainer(type: Docker}
tag = "group/some-component"
// should have been
tag = "${docker.registry}/group/some-component"
}
It looks like the Docker push action doesn't support private (or specified) repositories:
https://github.com/Transmode/gradle-docker/blob/master/src/main/groovy/se/transmode/gradle/plugins/docker/client/NativeDockerClient.groovy#L40 shows that the push command only pushes the docker tag (with no additional options).