README.md in dockly-1.3.5 vs README.md in dockly-1.4.0
- old
+ new
@@ -140,11 +140,39 @@
- `build_cache`
- required: `false`
- allows multiple
- class: `Dockly::BuildCache`
- description: a caching system to stop rebuilding/compiling the same files every time
+- `build_cache`
+ - required: `false`
+ - allows one
+ - class: `Dockly::Docker::Registry`
+ - description: a registry to push to in lieu of exporting as a tar -- the registry will be automatically pulled upon installing the debian package
Need finer control of Docker packages? We also wrote [docker-api](https://github.com/swipely/docker-api).
+
+`registry`
+--------
+
+The `registry` DSL is used to define Docker Registries. It has the following attributes:
+
+- `authentication_required`
+ - required: `false`
+ - default: `true`
+ - description: a boolean that determines whether or not authentication is required on the registry.
+- `username`
+ - required: `true` unless `authentication_required` is `false`
+ - description: the username to authenticate
+- `email`:
+ - required: `true` unless `authentication_required` is `false`
+ - description: the email to authenticate
+- `password`:
+ - required: `false`
+ - description: the user's password; unless supplied, `ENV['DOCKER_REGISTRY_PASSWORD']` will be checked. not that `ENV['DOCKER_REGISTRY_PASSWORD']` is required to be set on the host on to which the package will be deployed
+- `server_address`:
+ - required: `true`
+ - default: `https://index.docker.io/v1`
+ - description: the server where the registry lives
`foreman`
---------
Optional